@salutejs/plasma-web 1.468.0-canary.1610.12230892013.0 → 1.468.0-canary.1610.12252096000.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +43 -0
- package/components/Combobox/Combobox.d.ts +12 -0
- package/components/Dropdown/Dropdown.d.ts +1 -0
- package/components/Rating/Rating.config.d.ts +27 -0
- package/components/Rating/Rating.config.js +36 -0
- package/components/Rating/Rating.d.ts +35 -0
- package/components/Rating/Rating.js +10 -0
- package/components/Rating/index.d.ts +2 -0
- package/components/Rating/index.js +25 -0
- package/components/Select/Select.d.ts +4 -0
- package/css/cjs/components/Rating/Rating.config.js +35 -0
- package/css/cjs/components/Rating/Rating.config.js.map +1 -0
- package/css/cjs/components/Rating/Rating.config_1yxdjbj.css +15 -0
- package/css/cjs/components/Rating/Rating.css +15 -0
- package/css/cjs/components/Rating/Rating.js +12 -0
- package/css/cjs/components/Rating/Rating.js.map +1 -0
- package/css/cjs/index.css +16 -0
- package/css/cjs/index.js +10 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Rating/Rating.config.js +31 -0
- package/css/es/components/Rating/Rating.config.js.map +1 -0
- package/css/es/components/Rating/Rating.config_1yxdjbj.css +15 -0
- package/css/es/components/Rating/Rating.css +15 -0
- package/css/es/components/Rating/Rating.js +8 -0
- package/css/es/components/Rating/Rating.js.map +1 -0
- package/css/es/index.css +16 -0
- package/css/es/index.js +2 -1
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Rating/Rating.config.js +30 -0
- package/es/components/Rating/Rating.js +4 -0
- package/es/components/Rating/index.js +2 -0
- package/es/index.js +2 -1
- package/index.d.ts +1 -0
- package/index.js +11 -0
- package/package.json +3 -3
- package/temp/plasma-web.api.md +43 -0
package/temp/plasma-web.api.md
CHANGED
@@ -239,6 +239,8 @@ import { radiuses } from '@salutejs/plasma-core';
|
|
239
239
|
import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components';
|
240
240
|
import { RangeProps } from '@salutejs/plasma-new-hope/styled-components';
|
241
241
|
import { rangeTokens } from '@salutejs/plasma-new-hope/styled-components';
|
242
|
+
import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components';
|
243
|
+
import { ratingTokens } from '@salutejs/plasma-new-hope/styled-components';
|
242
244
|
import { Ratio } from '@salutejs/plasma-new-hope/styled-components';
|
243
245
|
import { default as React_2 } from 'react';
|
244
246
|
import { ReactElement } from 'react';
|
@@ -1898,6 +1900,7 @@ default: PolymorphicClassName;
|
|
1898
1900
|
variant?: "normal" | "tight" | undefined;
|
1899
1901
|
portal?: string | React_2.RefObject<HTMLElement> | undefined;
|
1900
1902
|
renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined;
|
1903
|
+
zIndex?: Property.ZIndex | undefined;
|
1901
1904
|
onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent<Element, Event>) => void) | undefined;
|
1902
1905
|
listOverflow?: Property.Overflow | undefined;
|
1903
1906
|
listHeight?: Property.Height<string | number> | undefined;
|
@@ -3391,6 +3394,46 @@ export { RangeProps }
|
|
3391
3394
|
|
3392
3395
|
export { rangeTokens }
|
3393
3396
|
|
3397
|
+
// @public (undocumented)
|
3398
|
+
export const Rating: FunctionComponent<PropsType< {
|
3399
|
+
view: {
|
3400
|
+
default: PolymorphicClassName;
|
3401
|
+
accent: PolymorphicClassName;
|
3402
|
+
};
|
3403
|
+
size: {
|
3404
|
+
l: PolymorphicClassName;
|
3405
|
+
m: PolymorphicClassName;
|
3406
|
+
s: PolymorphicClassName;
|
3407
|
+
xs: PolymorphicClassName;
|
3408
|
+
xxs: PolymorphicClassName;
|
3409
|
+
h1: PolymorphicClassName;
|
3410
|
+
h2: PolymorphicClassName;
|
3411
|
+
h3: PolymorphicClassName;
|
3412
|
+
h4: PolymorphicClassName;
|
3413
|
+
h5: PolymorphicClassName;
|
3414
|
+
displayL: PolymorphicClassName;
|
3415
|
+
displayM: PolymorphicClassName;
|
3416
|
+
displayS: PolymorphicClassName;
|
3417
|
+
};
|
3418
|
+
}> & {
|
3419
|
+
value?: number | null | undefined;
|
3420
|
+
hasValue?: boolean | undefined;
|
3421
|
+
precision?: number | undefined;
|
3422
|
+
valuePlacement?: "after" | "before" | undefined;
|
3423
|
+
iconSlot?: ReactNode;
|
3424
|
+
iconSlotOutline?: ReactNode;
|
3425
|
+
iconSlotHalf?: ReactNode;
|
3426
|
+
hasIcons?: boolean | undefined;
|
3427
|
+
iconQuantity?: 1 | 5 | 10 | undefined;
|
3428
|
+
helperText?: string | undefined;
|
3429
|
+
size?: string | undefined;
|
3430
|
+
view?: string | undefined;
|
3431
|
+
} & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLInputElement>>;
|
3432
|
+
|
3433
|
+
export { ratingClasses }
|
3434
|
+
|
3435
|
+
export { ratingTokens }
|
3436
|
+
|
3394
3437
|
export { Ratio }
|
3395
3438
|
|
3396
3439
|
export { RectSkeleton }
|