UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

32 lines (31 loc) 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RatingProperties = void 0; var _NumberFormatDocs = require("../number-format/NumberFormatDocs.js"); var _StatDocsUtils = require("./StatDocsUtils.js"); const RatingProperties = exports.RatingProperties = { value: { doc: 'Rating value used to colorize stars.', type: ['number'], defaultValue: '0', status: 'optional' }, max: { doc: 'Total number of items to render. Defaults to `5` for `stars` and `7` for `progressive`. Values above `20` are clamped and a warning is emitted.', type: ['number'], defaultValue: '5 (stars), 7 (progressive)', status: 'optional' }, variant: { doc: 'Visual variant.', type: ['"stars"', '"progressive"'], defaultValue: 'stars', status: 'optional' }, srLabel: _NumberFormatDocs.NumberFormatPropertiesCamelCase.srLabel, skeleton: _StatDocsUtils.skeletonProperty, '[Space](/uilib/layout/space/properties)': _StatDocsUtils.spacingProperties }; //# sourceMappingURL=RatingDocs.js.map