@salutejs/plasma-new-hope 0.194.0-canary.1562.11857238836.0 → 0.194.0-canary.1568.11891833298.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +4 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -5
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -5
- package/cjs/components/Dropdown/Dropdown.css +4 -5
- package/cjs/components/Dropdown/Dropdown.js +2 -4
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -5
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -7
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_14yih1y.css → DropdownItem.styles_1b439rx.css} +0 -1
- package/cjs/components/Select/Select.js +1 -0
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -18
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Switch/Switch.css +2 -2
- package/cjs/components/Switch/Switch.tokens.js +7 -1
- package/cjs/components/Switch/Switch.tokens.js.map +1 -1
- package/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/cjs/components/Switch/_toggleSize/base.js.map +1 -1
- package/cjs/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
- package/cjs/components/Switch/_view/base.js +1 -1
- package/cjs/components/Switch/_view/base.js.map +1 -1
- package/cjs/components/Switch/_view/base_15atbyp.css +1 -0
- package/cjs/index.css +6 -7
- package/emotion/cjs/components/Card/Card.api.mdx +184 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/cjs/components/Dropdown/Dropdown.js +2 -4
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +11 -15
- package/emotion/cjs/components/Select/Select.js +1 -0
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
- package/emotion/cjs/components/Switch/Switch.tokens.js +7 -1
- package/emotion/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/emotion/cjs/components/Switch/_view/base.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +8 -8
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/es/components/Card/Card.api.mdx +184 -0
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/es/components/Dropdown/Dropdown.js +2 -4
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +11 -15
- package/emotion/es/components/Select/Select.js +1 -0
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
- package/emotion/es/components/Switch/Switch.tokens.js +7 -1
- package/emotion/es/components/Switch/_toggleSize/base.js +1 -1
- package/emotion/es/components/Switch/_view/base.js +1 -1
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +8 -8
- package/emotion/es/examples/plasma_web/components/Switch/Switch.js +4 -1
- package/emotion/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
- package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Combobox/ComboboxOld/Combobox.css +4 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -5
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -5
- package/es/components/Dropdown/Dropdown.css +4 -5
- package/es/components/Dropdown/Dropdown.js +2 -4
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -5
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -7
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_14yih1y.css → DropdownItem.styles_1b439rx.css} +0 -1
- package/es/components/Select/Select.js +1 -0
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -19
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Switch/Switch.css +2 -2
- package/es/components/Switch/Switch.tokens.js +7 -1
- package/es/components/Switch/Switch.tokens.js.map +1 -1
- package/es/components/Switch/_toggleSize/base.js +1 -1
- package/es/components/Switch/_toggleSize/base.js.map +1 -1
- package/es/components/Switch/_toggleSize/base_1d0b3t4.css +1 -0
- package/es/components/Switch/_view/base.js +1 -1
- package/es/components/Switch/_view/base.js.map +1 -1
- package/es/components/Switch/_view/base_15atbyp.css +1 -0
- package/es/index.css +6 -7
- package/package.json +2 -3
- package/styled-components/cjs/components/Card/Card.api.mdx +184 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -4
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -5
- package/styled-components/cjs/components/Select/Select.js +1 -0
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
- package/styled-components/cjs/components/Switch/Switch.tokens.js +7 -1
- package/styled-components/cjs/components/Switch/_toggleSize/base.js +1 -1
- package/styled-components/cjs/components/Switch/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.js +5 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +37 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.js +5 -2
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +37 -0
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/es/components/Card/Card.api.mdx +184 -0
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +1 -0
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/es/components/Dropdown/Dropdown.js +2 -4
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -5
- package/styled-components/es/components/Select/Select.js +1 -0
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
- package/styled-components/es/components/Switch/Switch.tokens.js +7 -1
- package/styled-components/es/components/Switch/_toggleSize/base.js +1 -1
- package/styled-components/es/components/Switch/_view/base.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.js +4 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +31 -0
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +33 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.js +4 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.outline.config.js +31 -0
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +33 -1
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +2 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts +2 -50
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +6 -11
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Dropdown/index.d.ts +0 -1
- package/types/components/Dropdown/index.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +0 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +2 -1
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Switch/Switch.tokens.d.ts +7 -1
- package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
- package/types/components/Switch/_toggleSize/base.d.ts.map +1 -1
- package/types/components/Switch/_view/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +1 -25
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +20 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts +30 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +1 -25
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts +20 -0
- package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts +30 -0
- package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts.map +1 -0
- package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
- package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
- package/es/components/Switch/_view/base_yxkf3s.css +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger, StyledInput, StyledLabel, StyledDescription } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOff});\n }\n\n ${StyledInput}:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOffHover}, var(${tokens.trackBackgroundColorOff}));\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOn});\n }\n\n ${StyledInput}:checked:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOnHover}, var(${tokens.trackBackgroundColorOn}));\n }\n\n ${StyledTrigger}::after {\n background-color: var(${tokens.
|
1
|
+
{"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger, StyledInput, StyledLabel, StyledDescription } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOff});\n border-color: var(${tokens.trackBorderColorOff});\n }\n\n ${StyledInput}:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOffHover}, var(${tokens.trackBackgroundColorOff}));\n border-color: var(${tokens.trackBorderColorOffHover}, var(${tokens.trackBorderColorOff}));\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger} {\n background-color: var(${tokens.trackBackgroundColorOn});\n border-color: var(${tokens.trackBorderColorOn});\n }\n\n ${StyledInput}:checked:not([disabled]) ~ ${StyledTrigger}:hover {\n background-color: var(${tokens.trackBackgroundColorOnHover}, var(${tokens.trackBackgroundColorOn}));\n border-color: var(${tokens.trackBorderColorOnHover}, var(${tokens.trackBorderColorOn}));\n }\n\n ${StyledTrigger}::after {\n background-color: var(${tokens.thumbBackgroundColorOff});\n box-shadow: var(${tokens.thumbBoxShadow});\n }\n\n ${StyledInput}:checked ~ ${StyledTrigger}::after {\n background-color: var(${tokens.thumbBackgroundColorOn});\n box-shadow: var(${tokens.thumbBoxShadowOn}, var(${tokens.thumbBoxShadow}));\n }\n\n ${StyledLabel} {\n color: var(${tokens.labelColor});\n }\n\n ${StyledDescription} {\n color: var(${tokens.descriptionColor});\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAsChB;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
.b1g0jmh3 .s2cs3kf{background-color:var(--plasma-switch__track_checked_false-bg-color);border-color:var(--plasma-switch__track-checked_false-border-color);}.b1g0jmh3 .ssthlx1:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));border-color:var(--plasma-switch__track-checked_false_hovered_true-border-color,var(--plasma-switch__track-checked_false-border-color));}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf{background-color:var(--plasma-switch__track_checked_true-bg-color);border-color:var(--plasma-switch__track-checked_true-border-color);}.b1g0jmh3 .ssthlx1:checked:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));border-color:var(--plasma-switch__track-checked_true_hovered_true-border-color,var(--plasma-switch__track-checked_true-border-color));}.b1g0jmh3 .s2cs3kf::after{background-color:var(--plasma-switch__thumb-checked_false-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf::after{background-color:var(--plasma-switch__thumb_checked_true-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.b1g0jmh3 .s1ilr5eq{color:var(--plasma-switch__label-color);}.b1g0jmh3 .sdjnckq{color:var(--plasma-switch__description-color);}
|
package/cjs/index.css
CHANGED
@@ -215,9 +215,9 @@
|
|
215
215
|
|
216
216
|
.base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_s10fscgc__e2c572a3{font-family:var(--plasma-switch-font-family);font-style:var(--plasma-switch-font-style);font-weight:var(--plasma-switch-font-weight);-webkit-letter-spacing:var(--plasma-switch-letter-spacing);-moz-letter-spacing:var(--plasma-switch-letter-spacing);-ms-letter-spacing:var(--plasma-switch-letter-spacing);letter-spacing:var(--plasma-switch-letter-spacing);line-height:var(--plasma-switch-line-height);font-size:var(--plasma-switch-font-size);}.base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_sdjnckq__e2c572a3{font-family:var(--plasma-switch-description-font-family);font-style:var(--plasma-switch-description-font-style);font-weight:var(--plasma-switch-description-font-weight);-webkit-letter-spacing:var(--plasma-switch-description-letter-spacing);-moz-letter-spacing:var(--plasma-switch-description-letter-spacing);-ms-letter-spacing:var(--plasma-switch-description-letter-spacing);letter-spacing:var(--plasma-switch-description-letter-spacing);line-height:var(--plasma-switch-description-line-height);font-size:var(--plasma-switch-description-font-size);}.base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_s1ilr5eq__e2c572a3{margin:var(--plasma_private-switch__label-offset,0);}
|
217
217
|
|
218
|
-
.
|
218
|
+
.base_1d0b3t4_b1wld3h3__ac2a0bcf .base_1d0b3t4_s2cs3kf__ac2a0bcf{box-sizing:border-box;-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);border-style:solid;border-width:var(--plasma-switch__track-border);border-radius:var(--plasma-switch__track-border-radius);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);}.base_1d0b3t4_b1wld3h3__ac2a0bcf .base_1d0b3t4_s2cs3kf__ac2a0bcf::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.base_1d0b3t4_b1wld3h3__ac2a0bcf:active:not([disabled]) .base_1d0b3t4_s2cs3kf__ac2a0bcf::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
|
219
219
|
|
220
|
-
.
|
220
|
+
.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s2cs3kf__64acd499{background-color:var(--plasma-switch__track_checked_false-bg-color);border-color:var(--plasma-switch__track-checked_false-border-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:not([disabled]) ~ .base_15atbyp_s2cs3kf__64acd499:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));border-color:var(--plasma-switch__track-checked_false_hovered_true-border-color,var(--plasma-switch__track-checked_false-border-color));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked ~ .base_15atbyp_s2cs3kf__64acd499{background-color:var(--plasma-switch__track_checked_true-bg-color);border-color:var(--plasma-switch__track-checked_true-border-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked:not([disabled]) ~ .base_15atbyp_s2cs3kf__64acd499:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));border-color:var(--plasma-switch__track-checked_true_hovered_true-border-color,var(--plasma-switch__track-checked_true-border-color));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s2cs3kf__64acd499::after{background-color:var(--plasma-switch__thumb-checked_false-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked ~ .base_15atbyp_s2cs3kf__64acd499::after{background-color:var(--plasma-switch__thumb_checked_true-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s1ilr5eq__64acd499{color:var(--plasma-switch__label-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_sdjnckq__64acd499{color:var(--plasma-switch__description-color);}
|
221
221
|
|
222
222
|
.base_sz3n0x_bvwxj2r__a36bed54 .base_sz3n0x_s2cs3kf__a36bed54::before{content:'';position:absolute;inset:-0.125rem;display:block;box-sizing:content-box;border-radius:calc(0.125rem + var(--plasma-switch__track-border-radius));border:0.125rem solid transparent;pointer-events:none;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;}.base_sz3n0x_bvwxj2r__a36bed54 .base_sz3n0x_ssthlx1__a36bed54.base_sz3n0x_focusVisible__a36bed54 ~ .base_sz3n0x_s2cs3kf__a36bed54::before{box-shadow:0 0 0 0.125rem var(--plasma-switch__track-focus-color);}
|
223
223
|
|
@@ -392,12 +392,11 @@
|
|
392
392
|
|
393
393
|
.DropdownHeader_styles_196gwgm_s133b1g2__3510806e{background:var(--plasma-dropdown-header-background);font-family:var(--plasma-dropdown-header-font-family);font-size:var(--plasma-dropdown-header-font-size);font-style:var(--plasma-dropdown-header-font-style);font-weight:var(--plasma-dropdown-header-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-header-line-height);-moz-letter-spacing:var(--plasma-dropdown-header-line-height);-ms-letter-spacing:var(--plasma-dropdown-header-line-height);letter-spacing:var(--plasma-dropdown-header-line-height);line-height:var(--plasma-dropdown-header-font-weight);width:var(--plasma-dropdown-header-width);height:var(--plasma-dropdown-header-height);padding:var(--plasma-dropdown-header-padding-top) var(--plasma-dropdown-header-padding-right) var(--plasma-dropdown-header-padding-bottom) var(--plasma-dropdown-header-padding-left);margin:var(--plasma-dropdown-header-margin-top) var(--plasma-dropdown-header-margin-right) var(--plasma-dropdown-header-margin-bottom) var(--plasma-dropdown-header-margin-left);}
|
394
394
|
|
395
|
-
.
|
395
|
+
.DropdownItem_styles_1b439rx_c1gkzlls__ed711128{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-dropdown-cell-padding);--plasma-cell-padding-left-content:var(--plasma-dropdown-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-dropdown-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-dropdown-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-dropdown-cell-textbox-gap);--plasma-cell-gap:var(--plasma-dropdown-cell-gap);--plasma-cell-title-font-family:var(--plasma-dropdown-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-dropdown-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-dropdown-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-dropdown-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-dropdown-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-dropdown-cell-title-line-height);width:100%;}
|
396
396
|
|
397
|
-
.
|
398
|
-
.
|
399
|
-
.
|
400
|
-
.DropdownItem_styles_14yih1y_r1jav4ek__bf539568{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
|
397
|
+
.DropdownItem_styles_1b439rx_d1m97l2m__ed711128{line-height:0;color:var(--text-secondary);}
|
398
|
+
.DropdownItem_styles_1b439rx_doib72h__ed711128{height:1px;margin-top:var(--doib72h-0);margin-right:var(--plasma-dropdown-divider-margin-right);margin-bottom:var(--doib72h-1);margin-left:var(--plasma-dropdown-divider-margin-left);background:var(--plasma-dropdown-divider-color);}
|
399
|
+
.DropdownItem_styles_1b439rx_w6l2f0g__ed711128{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-dropdown-item-height);margin:0;box-sizing:content-box;padding:var(--w6l2f0g-0);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background-color:var(--plasma-colors-transparent);border-radius:var(--plasma-dropdown-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:0.125rem solid transparent;border-left:0.125rem solid transparent;background-clip:padding-box;position:relative;}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128:hover:not(.DropdownItem_styles_1b439rx_dropdownItemIsDisabled__ed711128){cursor:pointer;background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128.DropdownItem_styles_1b439rx_dropdownItemIsActive__ed711128{background-color:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128.DropdownItem_styles_1b439rx_dropdownItemIsDisabled__ed711128{opacity:0.4;cursor:not-allowed;}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128:focus{outline:none;}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_1b439rx_w6l2f0g__ed711128.DropdownItem_styles_1b439rx_dropdownItemIsFocused__ed711128:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
|
401
400
|
|
402
401
|
.DropdownItem_styles_1lyg81y_s1iqs5in__b17ea060{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-left-width);color:var(--plasma-dropdown-item-content-left-color);}
|
403
402
|
.DropdownItem_styles_1lyg81y_sfg3dyd__b17ea060{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-right-width);color:var(--plasma-dropdown-item-content-right-color);}
|
@@ -0,0 +1,184 @@
|
|
1
|
+
---
|
2
|
+
id: card
|
3
|
+
title: Card
|
4
|
+
---
|
5
|
+
|
6
|
+
отличия от https://plasma.sberdevices.ru/b2c/components/card/:
|
7
|
+
* избавляемся от CardBody
|
8
|
+
* убираем дублирование disabled
|
9
|
+
|
10
|
+
примеры дизайна https://www.figma.com/design/MXl0ZkXEqEhIFDS2H6b3yk/StarDS-Cards?node-id=2-690&node-type=instance&t=TJN8Nqyiky3Dfw2T-0
|
11
|
+
|
12
|
+
другие либы:
|
13
|
+
https://ant.design/components/card#
|
14
|
+
https://mui.com/material-ui/react-card/
|
15
|
+
|
16
|
+
```tsx live
|
17
|
+
import React, { ReactNode } from "react";
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Набор часто встречающихся скруглений.
|
21
|
+
*/
|
22
|
+
|
23
|
+
export const radiuses = {
|
24
|
+
250: 15.625,
|
25
|
+
32: 2,
|
26
|
+
28: 1.75,
|
27
|
+
24: 1.5,
|
28
|
+
20: 1.25,
|
29
|
+
18: 1.125,
|
30
|
+
16: 1,
|
31
|
+
14: 0.875,
|
32
|
+
12: 0.75,
|
33
|
+
8: 0.5,
|
34
|
+
0: 0,
|
35
|
+
};
|
36
|
+
|
37
|
+
export type Roundness = keyof typeof radiuses;
|
38
|
+
|
39
|
+
export interface RoundnessProps {
|
40
|
+
/** Скругленность */
|
41
|
+
roundness: Roundness;
|
42
|
+
}
|
43
|
+
|
44
|
+
interface Card {
|
45
|
+
/** Компонент в фокусе */
|
46
|
+
focused?: boolean;
|
47
|
+
/** Увеличение по фокусу */
|
48
|
+
scaleOnFocus?: boolean;
|
49
|
+
/** Компонент неактивен */
|
50
|
+
disabled?: boolean;
|
51
|
+
/** Добавить рамку при фокусе */
|
52
|
+
outlined?: boolean;
|
53
|
+
/** Цвет подложки */
|
54
|
+
background?: string;
|
55
|
+
/** Делает карточку квадратной */
|
56
|
+
square?: boolean;
|
57
|
+
/** Заголовок */
|
58
|
+
title?: string | ReactNode;
|
59
|
+
/** Подзаголовок */
|
60
|
+
subtitle?: string | ReactNode;
|
61
|
+
/** Расположение заголовка и подзаголовка, пока нет в дизайне */
|
62
|
+
titlePlacement?: "inner" | "outer";
|
63
|
+
/** Выравнивание заголовка и подзаголовка */
|
64
|
+
titleAlign?: "left" | "center";
|
65
|
+
/** Подвал, или вынести в
|
66
|
+
* <CardContent footer={<CardTimeline />} /> или <CardFooter><CardTimeline /></CardFooter>
|
67
|
+
* */
|
68
|
+
footer?: ReactNode;
|
69
|
+
}
|
70
|
+
|
71
|
+
const ratios = {
|
72
|
+
"1 / 1": "100",
|
73
|
+
"1/1": "100",
|
74
|
+
"3 / 4": "133.3333",
|
75
|
+
"3/4": "133.3333",
|
76
|
+
"4 / 3": "75",
|
77
|
+
"4/3": "75",
|
78
|
+
"9 / 16": "177.7778",
|
79
|
+
"9/16": "177.7778",
|
80
|
+
"16 / 9": "56.25",
|
81
|
+
"16/9": "56.25",
|
82
|
+
"1 / 2": "200",
|
83
|
+
"1/2": "200",
|
84
|
+
"2 / 1": "50",
|
85
|
+
"2/1": "50",
|
86
|
+
};
|
87
|
+
|
88
|
+
export type Ratio = keyof typeof ratios;
|
89
|
+
|
90
|
+
/**
|
91
|
+
* CardMedia из текущей реализации
|
92
|
+
* Стоит ли заменить пропсом `cover?: ReactNode;` в Card как в Ant?
|
93
|
+
* а width и height передавать в style...
|
94
|
+
*
|
95
|
+
* имхо, нет. у Card может быть title и subtitle под карточкой
|
96
|
+
* скорее всего, на них свойство height не должно распространяться
|
97
|
+
* стоит подождать финальный дизайн
|
98
|
+
*/
|
99
|
+
interface CardMedia {
|
100
|
+
base?: "img" | "div";
|
101
|
+
height?: string | number;
|
102
|
+
ratio?: Ratio;
|
103
|
+
customRatio?: string;
|
104
|
+
}
|
105
|
+
|
106
|
+
interface CardContent {
|
107
|
+
topLeft?: string | ReactNode;
|
108
|
+
topRight?: string | ReactNode;
|
109
|
+
bottomLeft?: string | ReactNode;
|
110
|
+
bottomRight?: string | ReactNode;
|
111
|
+
children?: ReactNode;
|
112
|
+
}
|
113
|
+
|
114
|
+
/** или */
|
115
|
+
interface CardContent {
|
116
|
+
placement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
117
|
+
children?: ReactNode;
|
118
|
+
}
|
119
|
+
|
120
|
+
interface CardTimeline {
|
121
|
+
/**
|
122
|
+
* Описание, например время до конца фильма. Возможно,
|
123
|
+
* не нужно и стоит указывать bottomRight контент
|
124
|
+
*/
|
125
|
+
text?: string;
|
126
|
+
progress?: string | number;
|
127
|
+
/**
|
128
|
+
* Не увеличивать высоту карточки
|
129
|
+
* @default true
|
130
|
+
*/
|
131
|
+
inline?: boolean;
|
132
|
+
}
|
133
|
+
```
|
134
|
+
|
135
|
+
```tsx live
|
136
|
+
<Card title="Title" subtitle="Subtitle">
|
137
|
+
<CardContent placement="top-left">
|
138
|
+
<SomeIcon />
|
139
|
+
</CardContent>
|
140
|
+
<CardContent placement="top-right">
|
141
|
+
<SaveButton saved={isSaved} />
|
142
|
+
</CardContent>
|
143
|
+
<CardContent placement="bottom-right">18+</CardContent>
|
144
|
+
</Card>;
|
145
|
+
|
146
|
+
<Card title="Title" subtitle="Subtitle">
|
147
|
+
<CardContent
|
148
|
+
topLeft={<SomeIcon />}
|
149
|
+
topRight={<SaveButton saved={isSaved} />}
|
150
|
+
bottomRight="18+"
|
151
|
+
/>
|
152
|
+
</Card>;
|
153
|
+
|
154
|
+
<Card title="Title" subtitle="Subtitle">
|
155
|
+
<CardMedia src={someSrc} alt="trailer" />
|
156
|
+
<CardContent
|
157
|
+
topLeft={<SomeIcon />}
|
158
|
+
topRight={<SaveButton saved={isSaved} />}
|
159
|
+
bottomRight="18+"
|
160
|
+
/>
|
161
|
+
<CardTimeline text="еще 1ч 23мин" progress={56} />
|
162
|
+
</Card>;
|
163
|
+
|
164
|
+
<Card title="Title" subtitle="Subtitle">
|
165
|
+
<CardContent topLeft={<SomeIcon />} topRight={<SaveButton saved={isSaved} />}>
|
166
|
+
<CardMedia src={someSrc} alt="trailer" />
|
167
|
+
</CardContent>
|
168
|
+
<CardTimeline text="еще 1ч 23мин" progress={56} />
|
169
|
+
</Card>;
|
170
|
+
|
171
|
+
<Card
|
172
|
+
title="Title"
|
173
|
+
subtitle="Subtitle"
|
174
|
+
// как в ant, но кажется, что так менее гибко
|
175
|
+
cover={<CardMedia src={someSrc} alt="trailer" />}
|
176
|
+
square
|
177
|
+
>
|
178
|
+
<CardContent
|
179
|
+
topLeft={<SomeIcon />}
|
180
|
+
topRight={<SaveButton saved={isSaved} />}
|
181
|
+
/>
|
182
|
+
<CardTimeline text="еще 1ч 23мин" progress={56} />
|
183
|
+
</Card>;
|
184
|
+
```
|
@@ -357,6 +357,7 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
|
|
357
357
|
handleItemClick: handleItemClick,
|
358
358
|
variant: variant,
|
359
359
|
renderItem: renderItem,
|
360
|
+
valueToItemMap: valueToItemMap,
|
360
361
|
treeId: treeId
|
361
362
|
}
|
362
363
|
}, /*#__PURE__*/_react["default"].createElement(_FloatingPopover.FloatingPopover, {
|
@@ -40,6 +40,7 @@ var Item = exports.Item = function Item(_ref) {
|
|
40
40
|
handleItemClick = _useContext.handleItemClick,
|
41
41
|
variant = _useContext.variant,
|
42
42
|
renderItem = _useContext.renderItem,
|
43
|
+
valueToItemMap = _useContext.valueToItemMap,
|
43
44
|
treeId = _useContext.treeId;
|
44
45
|
var disabledClassName = disabled ? _Combobox.classes.dropdownItemIsDisabled : undefined;
|
45
46
|
var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? _Combobox.classes.dropdownItemIsFocused : undefined;
|
@@ -93,7 +94,7 @@ var Item = exports.Item = function Item(_ref) {
|
|
93
94
|
}))), !multiple && checked.get(item.value) === 'done' && /*#__PURE__*/_react["default"].createElement(_Icon.IconDone, {
|
94
95
|
size: (0, _utils.sizeToIconSize)(size, variant),
|
95
96
|
color: "inherit"
|
96
|
-
})), renderItem ? /*#__PURE__*/_react["default"].createElement(_Item.StyledText, null, renderItem(
|
97
|
+
})), renderItem ? /*#__PURE__*/_react["default"].createElement(_Item.StyledText, null, renderItem(valueToItemMap.get(value))) : /*#__PURE__*/_react["default"].createElement(_Item.StyledWrapper, null, /*#__PURE__*/_react["default"].createElement(_Item.StyledCell, {
|
97
98
|
view: "default",
|
98
99
|
size: "l",
|
99
100
|
contentLeft: contentLeft,
|
@@ -20,7 +20,7 @@ var _Dropdown2 = /*#__PURE__*/require("./Dropdown.tokens");
|
|
20
20
|
var _useKeyboardNavigation = /*#__PURE__*/require("./hooks/useKeyboardNavigation");
|
21
21
|
var _useHashMaps3 = /*#__PURE__*/require("./hooks/useHashMaps");
|
22
22
|
var _FloatingPopover = /*#__PURE__*/require("./FloatingPopover");
|
23
|
-
var _excluded = ["items", "children", "placement", "offset", "closeOnOverlayClick", "onToggle", "size", "view", "itemRole", "className", "listWidth", "listHeight", "listOverflow", "closeOnSelect", "onHover", "onItemSelect", "onItemClick", "trigger", "variant", "hasArrow", "alwaysOpened", "portal"
|
23
|
+
var _excluded = ["items", "children", "placement", "offset", "closeOnOverlayClick", "onToggle", "size", "view", "itemRole", "className", "listWidth", "listHeight", "listOverflow", "closeOnSelect", "onHover", "onItemSelect", "onItemClick", "trigger", "variant", "hasArrow", "alwaysOpened", "portal"];
|
24
24
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
25
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
26
26
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -69,7 +69,6 @@ var dropdownRoot = exports.dropdownRoot = function dropdownRoot(Root) {
|
|
69
69
|
_ref$alwaysOpened = _ref.alwaysOpened,
|
70
70
|
alwaysOpened = _ref$alwaysOpened === void 0 ? false : _ref$alwaysOpened,
|
71
71
|
portal = _ref.portal,
|
72
|
-
renderItem = _ref.renderItem,
|
73
72
|
rest = _objectWithoutProperties(_ref, _excluded);
|
74
73
|
var _useReducer = (0, _react.useReducer)(_pathReducer.pathReducer, []),
|
75
74
|
_useReducer2 = _slicedToArray(_useReducer, 2),
|
@@ -145,8 +144,7 @@ var dropdownRoot = exports.dropdownRoot = function dropdownRoot(Root) {
|
|
145
144
|
onItemClick: onItemClick,
|
146
145
|
onItemSelect: onItemSelect,
|
147
146
|
hasArrow: hasArrow,
|
148
|
-
treeId: treeId
|
149
|
-
renderItem: renderItem
|
147
|
+
treeId: treeId
|
150
148
|
}
|
151
149
|
}, /*#__PURE__*/_react["default"].createElement(_FloatingPopover.FloatingPopover, {
|
152
150
|
ref: floatingPopoverRef,
|
@@ -43,8 +43,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
43
43
|
onItemSelect = _useContext.onItemSelect,
|
44
44
|
onItemClick = _useContext.onItemClick,
|
45
45
|
hasArrow = _useContext.hasArrow,
|
46
|
-
treeId = _useContext.treeId
|
47
|
-
renderItem = _useContext.renderItem;
|
46
|
+
treeId = _useContext.treeId;
|
48
47
|
var hasDescendants = Boolean(item.items);
|
49
48
|
var disclosureIconSize = size === 'xs' ? 'xs' : 's';
|
50
49
|
var isDisabledClassName = disabled || isDisabled ? _Dropdown.classes.dropdownItemIsDisabled : undefined;
|
@@ -95,7 +94,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
|
|
95
94
|
"aria-expanded": ariaExpanded,
|
96
95
|
"aria-level": ariaLevel,
|
97
96
|
"aria-label": ariaLabel
|
98
|
-
},
|
97
|
+
}, /*#__PURE__*/_react["default"].createElement(_DropdownItem.CellWrapper, null, /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledCell, {
|
99
98
|
contentLeft: contentLeft,
|
100
99
|
contentRight: contentRight,
|
101
100
|
alignContentLeft: "center",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.Wrapper = exports.StyledCell = exports.
|
6
|
+
exports.Wrapper = exports.StyledCell = exports.Divider = exports.DisclosureIconWrapper = exports.CellWrapper = void 0;
|
7
7
|
var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
|
8
8
|
var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
|
9
9
|
var _mixins = /*#__PURE__*/require("../../../../mixins");
|
@@ -13,19 +13,19 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
13
13
|
var mergedCellConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Cell.cellConfig);
|
14
14
|
var Cell = /*#__PURE__*/(0, _engines.component)(mergedCellConfig);
|
15
15
|
var CellWrapper = exports.CellWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
16
|
-
target: "
|
16
|
+
target: "eh1hzhc4",
|
17
17
|
label: "plasma-new-hope__CellWrapper"
|
18
|
-
})(_Cell.cellTokens.cellTitleColor, ":var(", _Dropdown.constants.cellTitleColor, ");", _Cell.cellTokens.cellBackgroundColor, ":var(", _Dropdown.constants.cellBackgroundColor, ");", _Cell.cellTokens.cellPadding, ":var(", _Dropdown.tokens.cellPadding, ");", _Cell.cellTokens.cellPaddingLeftContent, ":var(", _Dropdown.tokens.cellPaddingLeftContent, ");", _Cell.cellTokens.cellPaddingContent, ":var(", _Dropdown.tokens.cellPaddingContent, ");", _Cell.cellTokens.cellPaddingRightContent, ":var(", _Dropdown.tokens.cellPaddingRightContent, ");", _Cell.cellTokens.cellTextboxGap, ":var(", _Dropdown.tokens.cellTextboxGap, ");", _Cell.cellTokens.cellGap, ":var(", _Dropdown.tokens.cellGap, ");", _Cell.cellTokens.cellTitleFontFamily, ":var(", _Dropdown.tokens.cellTitleFontFamily, ");", _Cell.cellTokens.cellTitleFontSize, ":var(", _Dropdown.tokens.cellTitleFontSize, ");", _Cell.cellTokens.cellTitleFontStyle, ":var(", _Dropdown.tokens.cellTitleFontStyle, ");", _Cell.cellTokens.cellTitleFontWeight, ":var(", _Dropdown.tokens.cellTitleFontWeight, ");", _Cell.cellTokens.cellTitleLetterSpacing, ":var(", _Dropdown.tokens.cellTitleLetterSpacing, ");", _Cell.cellTokens.cellTitleLineHeight, ":var(", _Dropdown.tokens.cellTitleLineHeight, ");width:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
18
|
+
})(_Cell.cellTokens.cellTitleColor, ":var(", _Dropdown.constants.cellTitleColor, ");", _Cell.cellTokens.cellBackgroundColor, ":var(", _Dropdown.constants.cellBackgroundColor, ");", _Cell.cellTokens.cellPadding, ":var(", _Dropdown.tokens.cellPadding, ");", _Cell.cellTokens.cellPaddingLeftContent, ":var(", _Dropdown.tokens.cellPaddingLeftContent, ");", _Cell.cellTokens.cellPaddingContent, ":var(", _Dropdown.tokens.cellPaddingContent, ");", _Cell.cellTokens.cellPaddingRightContent, ":var(", _Dropdown.tokens.cellPaddingRightContent, ");", _Cell.cellTokens.cellTextboxGap, ":var(", _Dropdown.tokens.cellTextboxGap, ");", _Cell.cellTokens.cellGap, ":var(", _Dropdown.tokens.cellGap, ");", _Cell.cellTokens.cellTitleFontFamily, ":var(", _Dropdown.tokens.cellTitleFontFamily, ");", _Cell.cellTokens.cellTitleFontSize, ":var(", _Dropdown.tokens.cellTitleFontSize, ");", _Cell.cellTokens.cellTitleFontStyle, ":var(", _Dropdown.tokens.cellTitleFontStyle, ");", _Cell.cellTokens.cellTitleFontWeight, ":var(", _Dropdown.tokens.cellTitleFontWeight, ");", _Cell.cellTokens.cellTitleLetterSpacing, ":var(", _Dropdown.tokens.cellTitleLetterSpacing, ");", _Cell.cellTokens.cellTitleLineHeight, ":var(", _Dropdown.tokens.cellTitleLineHeight, ");width:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3FDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucywgY29uc3RhbnRzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udG9rZW5zJztcbmltcG9ydCB7IGFkZEZvY3VzIH0gZnJvbSAnLi4vLi4vLi4vLi4vbWl4aW5zJztcbmltcG9ydCB7IERyb3Bkb3duUHJvcHMgfSBmcm9tICcuLi8uLi9Ecm9wZG93bi50eXBlcyc7XG5pbXBvcnQgeyBjZWxsQ29uZmlnLCBjZWxsVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vQ2VsbCc7XG5pbXBvcnQgeyBjb21wb25lbnQsIG1lcmdlQ29uZmlnIH0gZnJvbSAnLi4vLi4vLi4vLi4vZW5naW5lcyc7XG5cbmNvbnN0IG1lcmdlZENlbGxDb25maWcgPSBtZXJnZUNvbmZpZyhjZWxsQ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ZUNvbG9yOiBgdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KWAsXG4gICAgICAgIG91dGxpbmVSYWRpdXM6IGB2YXIoJHt0b2tlbnMuaXRlbUJvcmRlclJhZGl1c30pYCxcbiAgICAgICAgaGFzVHJhbnNpdGlvbjogZmFsc2UsXG4gICAgICAgIGN1c3RvbUZvY3VzUnVsZXM6IGBcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmRyb3Bkb3duSXRlbUlzRm9jdXNlZH06YmVmb3JlIHtcbiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHtjb25zdGFudHMuZm9jdXNDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICBgLFxuICAgIH0pfTtcbmA7XG4iXX0= */"));
|
19
19
|
var StyledCell = exports.StyledCell = /*#__PURE__*/(0, _base["default"])(Cell, {
|
20
|
-
target: "
|
20
|
+
target: "eh1hzhc3",
|
21
21
|
label: "plasma-new-hope__StyledCell"
|
22
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkJzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnR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WNrZ3JvdW5kSG92ZXJ9KTtcbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0FjdGl2ZX0ge1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuaXRlbUJhY2tncm91bmRIb3Zlcn0pO1xuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmRyb3Bkb3duSXRlbUlzRGlzYWJsZWR9IHtcbiAgICAgICAgb3BhY2l0eTogJHtjb25zdGFudHMub3BhY2l0eX07XG4gICAgICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgfVxuXG4gICAgOmZvY3VzIHtcbiAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICB9XG5cbiAgICAke2FkZEZvY3VzKHtcbiAgICAgICAgb3V0bGluZVNpemU6ICcwLjA2MjVyZW0nLFxuICAgICAgICBvdXRsaW5lT2Zmc2V0OiAnMCcsXG4gICAgICAgIG91dGxpbmVDb2xvcjogYHZhcigke2NvbnN0YW50cy5mb2N1c0NvbG9yfSlgLFxuICAgICAgICBvdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuIl19 */");
|
23
23
|
var DisclosureIconWrapper = exports.DisclosureIconWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
24
|
-
target: "
|
24
|
+
target: "eh1hzhc2",
|
25
25
|
label: "plasma-new-hope__DisclosureIconWrapper"
|
26
|
-
})("line-height:0;color:var(", _Dropdown.constants.disclosureIconColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
26
|
+
})("line-height:0;color:var(", _Dropdown.constants.disclosureIconColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0IrQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMsIGNvbnN0YW50cyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnRva2Vucyc7XG5pbXBvcnQgeyBhZGRGb2N1cyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBEcm9wZG93blByb3BzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udHlwZXMnO1xuaW1wb3J0IHsgY2VsbENvbmZpZywgY2VsbFRva2VucyB9IGZyb20gJy4uLy4uLy4uL0NlbGwnO1xuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZX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bGluZVNpemU6ICcwLjA2MjVyZW0nLFxuICAgICAgICBvdXRsaW5lT2Zmc2V0OiAnMCcsXG4gICAgICAgIG91dGxpbmVDb2xvcjogYHZhcigke2NvbnN0YW50cy5mb2N1c0NvbG9yfSlgLFxuICAgICAgICBvdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuIl19 */"));
|
27
27
|
var Divider = exports.Divider = /*#__PURE__*/(0, _base["default"])("div", {
|
28
|
-
target: "
|
28
|
+
target: "eh1hzhc1",
|
29
29
|
label: "plasma-new-hope__Divider"
|
30
30
|
})("height:1px;margin-top:", function (_ref) {
|
31
31
|
var variant = _ref.variant;
|
@@ -33,9 +33,9 @@ var Divider = exports.Divider = /*#__PURE__*/(0, _base["default"])("div", {
|
|
33
33
|
}, ";margin-right:var(", _Dropdown.tokens.dividerMarginRight, ");margin-bottom:", function (_ref2) {
|
34
34
|
var variant = _ref2.variant;
|
35
35
|
return "var(".concat(variant === 'tight' ? _Dropdown.tokens.dividerMarginBottomTight : _Dropdown.tokens.dividerMarginBottom, ")");
|
36
|
-
}, ";margin-left:var(", _Dropdown.tokens.dividerMarginLeft, ");background:var(", _Dropdown.tokens.dividerColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
36
|
+
}, ";margin-left:var(", _Dropdown.tokens.dividerMarginLeft, ");background:var(", _Dropdown.tokens.dividerColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0N3RSIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMsIGNvbnN0YW50cyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnRva2Vucyc7XG5pbXBvcnQgeyBhZGRGb2N1cyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBEcm9wZG93blByb3BzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udHlwZXMnO1xuaW1wb3J0IHsgY2VsbENvbmZpZywgY2VsbFRva2VucyB9IGZyb20gJy4uLy4uLy4uL0NlbGwnO1xuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZXMnO1xuXG5jb25zdCBtZXJnZWRDZWxsQ29uZmlnID0gbWVyZ2VDb25maWcoY2VsbENvbmZpZyk7XG5jb25zdCBDZWxsID0gY29tcG9uZW50KG1lcmdlZENlbGxDb25maWcpO1xuXG5leHBvcnQgY29uc3Qg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vdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuIl19 */"));
|
37
37
|
var Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base["default"])("li", {
|
38
|
-
target: "
|
38
|
+
target: "eh1hzhc0",
|
39
39
|
label: "plasma-new-hope__Wrapper"
|
40
40
|
})("display:flex;align-items:center;min-height:var(", _Dropdown.tokens.itemHeight, ");margin:0;box-sizing:content-box;padding:", function (_ref3) {
|
41
41
|
var variant = _ref3.variant;
|
@@ -47,8 +47,4 @@ var Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base["default"])("li", {
|
|
47
47
|
outlineRadius: /*#__PURE__*/"var(".concat(_Dropdown.tokens.itemBorderRadius, ")"),
|
48
48
|
hasTransition: false,
|
49
49
|
customFocusRules: /*#__PURE__*/"\n &.".concat(_Dropdown.classes.dropdownItemIsFocused, ":before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(").concat(_Dropdown.constants.focusColor, ");\n }\n ")
|
50
|
-
}), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
51
|
-
var RenderItemWrapper = exports.RenderItemWrapper = /*#__PURE__*/(0, _base["default"])("div", {
|
52
|
-
target: "eh1hzhc0",
|
53
|
-
label: "plasma-new-hope__RenderItemWrapper"
|
54
|
-
})( /*#__PURE__*/(0, _mixins.applyEllipsis)(), ";flex:1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0cyQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMsIGNvbnN0YW50cyB9IGZyb20gJy4uLy4uL0Ryb3Bkb3duLnRva2Vucyc7XG5pbXBvcnQgeyBhZGRGb2N1cywgYXBwbHlFbGxpcHNpcyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5pbXBvcnQgeyBEcm9wZG93blByb3BzIH0gZnJvbSAnLi4vLi4vRHJvcGRvd24udHlwZXMnO1xuaW1wb3J0IHsgY2VsbENvbmZpZywgY2VsbFRva2VucyB9IGZyb20gJy4uLy4uLy4uL0NlbGwnO1xuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZXMnO1xuXG5jb25zdCBtZXJnZWRDZWxsQ29uZmlnID0gbWVyZ2VDb25maWcoY2VsbENvbmZpZyk7XG5jb25zdCBDZWxsID0gY29tcG9uZW50KG1lcmdlZENlbGxDb25maWcpO1xuXG5leHBvcnQgY29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ICAgICBvdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuXG5leHBvcnQgY29uc3QgUmVuZGVySXRlbVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgICR7YXBwbHlFbGxpcHNpcygpfTtcbiAgICBmbGV4OiAxO1xuYDtcbiJdfQ== */"));
|
50
|
+
}), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vdWkvRHJvcGRvd25JdGVtL0Ryb3Bkb3duSXRlbS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0N1RSIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL3VpL0Ryb3Bkb3duSXRlbS9Ecm9wZG93bkl0ZW0uc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMsIGNv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gICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuaXRlbUJhY2tncm91bmRIb3Zlcn0pO1xuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLmRyb3Bkb3duSXRlbUlzRGlzYWJsZWR9IHtcbiAgICAgICAgb3BhY2l0eTogJHtjb25zdGFudHMub3BhY2l0eX07XG4gICAgICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgfVxuXG4gICAgOmZvY3VzIHtcbiAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICB9XG5cbiAgICAke2FkZEZvY3VzKHtcbiAgICAgICAgb3V0bGluZVNpemU6ICcwLjA2MjVyZW0nLFxuICAgICAgICBvdXRsaW5lT2Zmc2V0OiAnMCcsXG4gICAgICAgIG91dGxpbmVDb2xvcjogYHZhcigke2NvbnN0YW50cy5mb2N1c0NvbG9yfSlgLFxuICAgICAgICBvdXRsaW5lUmFkaXVzOiBgdmFyKCR7dG9rZW5zLml0ZW1Cb3JkZXJSYWRpdXN9KWAsXG4gICAgICAgIGhhc1RyYW5zaXRpb246IGZhbHNlLFxuICAgICAgICBjdXN0b21Gb2N1c1J1bGVzOiBgXG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5kcm9wZG93bkl0ZW1Jc0ZvY3VzZWR9OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiAwIDAgMCAwLjA2MjVyZW0gdmFyKCR7Y29uc3RhbnRzLmZvY3VzQ29sb3J9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICB9KX07XG5gO1xuIl19 */"));
|
@@ -281,6 +281,7 @@ var selectRoot = exports.selectRoot = function selectRoot(Root) {
|
|
281
281
|
handleItemClick: handleItemClick,
|
282
282
|
variant: variant,
|
283
283
|
renderItem: renderItem,
|
284
|
+
valueToItemMap: valueToItemMap,
|
284
285
|
treeId: treeId
|
285
286
|
}
|
286
287
|
}, /*#__PURE__*/_react["default"].createElement(_FloatingPopover.FloatingPopover, {
|
@@ -41,6 +41,7 @@ var Item = exports.Item = function Item(_ref) {
|
|
41
41
|
handleItemClick = _useContext.handleItemClick,
|
42
42
|
variant = _useContext.variant,
|
43
43
|
renderItem = _useContext.renderItem,
|
44
|
+
valueToItemMap = _useContext.valueToItemMap,
|
44
45
|
treeId = _useContext.treeId;
|
45
46
|
var itemDisabled = Boolean(disabled || isDisabled);
|
46
47
|
var disabledClassName = itemDisabled ? _Select.classes.dropdownItemIsDisabled : undefined;
|
@@ -95,7 +96,7 @@ var Item = exports.Item = function Item(_ref) {
|
|
95
96
|
}))), !multiselect && checked.get(item.value) === 'done' && /*#__PURE__*/_react["default"].createElement(_Icon.IconDone, {
|
96
97
|
size: (0, _utils.sizeToIconSize)(size, variant),
|
97
98
|
color: "inherit"
|
98
|
-
})), renderItem ? /*#__PURE__*/_react["default"].createElement(_Item.StyledText, null, renderItem(
|
99
|
+
})), renderItem ? /*#__PURE__*/_react["default"].createElement(_Item.StyledText, null, renderItem(valueToItemMap.get(value))) : /*#__PURE__*/_react["default"].createElement(_Item.StyledWrapper, null, /*#__PURE__*/_react["default"].createElement(_Item.StyledCell, {
|
99
100
|
contentLeft: contentLeft,
|
100
101
|
contentRight: contentRight
|
101
102
|
// TODO: #1548
|
@@ -12,12 +12,6 @@ var _Textfield = /*#__PURE__*/require("./Textfield.styles");
|
|
12
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
14
14
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
15
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
16
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
17
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
18
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
19
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
20
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
21
15
|
var Textfield = exports.Textfield = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
22
16
|
var _valueToItemMap$get;
|
23
17
|
var inputWrapperRef = _ref.inputWrapperRef,
|
@@ -62,24 +56,9 @@ var Textfield = exports.Textfield = /*#__PURE__*/(0, _react.forwardRef)(function
|
|
62
56
|
|
63
57
|
// Обработчик чипов
|
64
58
|
var handleChipsChange = function handleChipsChange(chipLabels) {
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
// Из лейблов чипов получаем value у item и далее прокидываем его в onChange.
|
69
|
-
if (renderValue && !isTargetAmount) {
|
70
|
-
var resultValues = _toConsumableArray(value);
|
71
|
-
value.forEach(function (_, index) {
|
72
|
-
var labelAfterRenderValue = renderValue(labelToItemMap.get(valueToItemMap.get(value[index]).label));
|
73
|
-
if (!chipLabels.includes(labelAfterRenderValue)) {
|
74
|
-
resultValues.splice(index, 1);
|
75
|
-
}
|
76
|
-
});
|
77
|
-
onChange(resultValues);
|
78
|
-
} else {
|
79
|
-
onChange(chipLabels.map(function (chipLabel) {
|
80
|
-
return labelToItemMap.get(chipLabel).value;
|
81
|
-
}));
|
82
|
-
}
|
59
|
+
onChange(chipLabels.map(function (chipLabel) {
|
60
|
+
return labelToItemMap.get(chipLabel).value;
|
61
|
+
}));
|
83
62
|
};
|
84
63
|
return /*#__PURE__*/_react["default"].createElement(_Textfield.StyledTextField, _extends({
|
85
64
|
ref: ref,
|