@salutejs/plasma-new-hope 0.151.0-canary.1449.11009654671.0 → 0.151.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Attach/Attach.css +48 -0
- package/cjs/components/Attach/Attach.js +181 -0
- package/cjs/components/Attach/Attach.js.map +1 -0
- package/cjs/components/Attach/Attach.styles.js +23 -0
- package/cjs/components/Attach/Attach.styles.js.map +1 -0
- package/cjs/components/Attach/Attach.styles_fl8wha.css +3 -0
- package/cjs/components/Attach/Attach.tokens.js +130 -0
- package/cjs/components/Attach/Attach.tokens.js.map +1 -0
- package/cjs/components/Attach/components/AttachButton/AttachButton.css +34 -0
- package/cjs/components/Attach/components/AttachButton/AttachButton.js +50 -0
- package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -0
- package/cjs/components/Attach/ui/Button/Button.styles.js +23 -0
- package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -0
- package/cjs/components/Attach/ui/Button/Button.styles_bj69th.css +1 -0
- package/cjs/components/Attach/ui/Cell/Cell.styles.js +25 -0
- package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -0
- package/cjs/components/Attach/ui/Cell/Cell.styles_69w962.css +1 -0
- package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +32 -0
- package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -0
- package/cjs/components/Attach/ui/IconButton/IconButton.styles_1q2jfs2.css +2 -0
- package/cjs/components/Attach/utils/extractExtension.js +10 -0
- package/cjs/components/Attach/utils/extractExtension.js.map +1 -0
- package/cjs/components/Attach/utils/getFileicon.js +51 -0
- package/cjs/components/Attach/utils/getFileicon.js.map +1 -0
- package/cjs/components/Attach/utils/truncateFilename.js +24 -0
- package/cjs/components/Attach/utils/truncateFilename.js.map +1 -0
- package/cjs/components/{TextField/variations/_clear → Attach/variations/_size}/base.js +2 -2
- package/cjs/components/Attach/variations/_size/base.js.map +1 -0
- package/cjs/components/Attach/variations/_size/base_eax0b8.css +1 -0
- package/cjs/components/Attach/variations/_view/base.js +9 -0
- package/cjs/components/Attach/variations/_view/base.js.map +1 -0
- package/cjs/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
- package/cjs/components/Autocomplete/Autocomplete.css +15 -17
- package/cjs/components/Cell/Cell.js +3 -2
- package/cjs/components/Cell/Cell.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +15 -17
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +15 -17
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +15 -17
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -17
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +15 -17
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -17
- package/cjs/components/Range/Range.css +15 -17
- package/cjs/components/Slider/Slider.css +15 -17
- package/cjs/components/Slider/components/Double/Double.css +15 -17
- package/cjs/components/TextField/TextField.js +9 -24
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +7 -15
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/{TextField.styles_1d2ryq.css → TextField.styles_uponva.css} +2 -2
- package/cjs/components/TextField/TextField.tokens.js +0 -9
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/variations/_disabled/base.js +1 -1
- package/cjs/components/TextField/variations/_disabled/base.js.map +1 -1
- package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
- package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base_8onybn.css +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +33 -0
- package/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +37 -0
- package/cjs/components/_Icon/Icon.assets/BlankDocOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankOutline.js +24 -0
- package/cjs/components/_Icon/Icon.assets/BlankOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +29 -0
- package/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +33 -0
- package/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +33 -0
- package/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +24 -0
- package/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js.map +1 -0
- package/cjs/components/_Icon/Icon.assets/Plus.js +24 -0
- package/cjs/components/_Icon/Icon.assets/Plus.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankCsvOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankDocOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankDocOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankPdfOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankTxtOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconBlankXlsOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +23 -0
- package/cjs/components/_Icon/Icons/IconCloseCircleOutline.js.map +1 -0
- package/cjs/components/_Icon/Icons/IconPlus.js +23 -0
- package/cjs/components/_Icon/Icons/IconPlus.js.map +1 -0
- package/cjs/index.css +30 -17
- package/cjs/index.js +5 -0
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Attach/Attach.js +186 -0
- package/emotion/cjs/components/Attach/Attach.styles.js +36 -0
- package/emotion/cjs/components/Attach/Attach.template-doc.mdx +63 -0
- package/emotion/cjs/components/Attach/Attach.tokens.js +128 -0
- package/emotion/cjs/components/Attach/Attach.types.js +5 -0
- package/emotion/cjs/components/Attach/components/AttachButton/AttachButton.js +52 -0
- package/emotion/cjs/components/Attach/components/AttachButton/index.js +12 -0
- package/emotion/cjs/components/Attach/index.js +25 -0
- package/emotion/cjs/components/Attach/ui/Button/Button.js +12 -0
- package/emotion/cjs/components/Attach/ui/Button/Button.styles.js +17 -0
- package/emotion/cjs/components/Attach/ui/Cell/Cell.js +12 -0
- package/emotion/cjs/components/Attach/ui/Cell/Cell.styles.js +17 -0
- package/emotion/cjs/components/Attach/ui/IconButton/IconButton.js +12 -0
- package/emotion/cjs/components/Attach/ui/IconButton/IconButton.styles.js +21 -0
- package/emotion/cjs/components/Attach/utils/extractExtension.js +9 -0
- package/emotion/cjs/components/Attach/utils/getFileicon.js +44 -0
- package/emotion/cjs/components/Attach/utils/index.js +26 -0
- package/emotion/cjs/components/Attach/utils/truncateFilename.js +23 -0
- package/emotion/cjs/components/Attach/variations/_size/base.js +9 -0
- package/emotion/cjs/components/Attach/variations/_view/base.js +9 -0
- package/emotion/cjs/components/Cell/Cell.js +3 -2
- package/emotion/cjs/components/TextField/TextField.js +10 -25
- package/emotion/cjs/components/TextField/TextField.styles.js +16 -20
- package/emotion/cjs/components/TextField/TextField.template-doc.mdx +17 -50
- package/emotion/cjs/components/TextField/TextField.tokens.js +0 -9
- package/emotion/cjs/components/TextField/variations/_disabled/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/emotion/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +32 -0
- package/emotion/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +36 -0
- package/emotion/cjs/components/_Icon/Icon.assets/BlankOutline.js +23 -0
- package/emotion/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +28 -0
- package/emotion/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +32 -0
- package/emotion/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +32 -0
- package/emotion/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +23 -0
- package/emotion/cjs/components/_Icon/Icon.assets/Plus.js +23 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankDocOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +22 -0
- package/emotion/cjs/components/_Icon/Icons/IconPlus.js +22 -0
- package/emotion/cjs/components/_Icon/index.js +57 -1
- package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +37 -0
- package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.js +11 -0
- package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +12 -15
- package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
- package/emotion/cjs/examples/plasma_web/components/Attach/Attach.config.js +37 -0
- package/emotion/cjs/examples/plasma_web/components/Attach/Attach.js +11 -0
- package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +12 -15
- package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
- package/emotion/cjs/index.js +11 -0
- package/emotion/es/components/Attach/Attach.js +177 -0
- package/emotion/es/components/Attach/Attach.styles.js +29 -0
- package/emotion/es/components/Attach/Attach.template-doc.mdx +63 -0
- package/emotion/es/components/Attach/Attach.tokens.js +122 -0
- package/emotion/es/components/Attach/Attach.types.js +1 -0
- package/emotion/es/components/Attach/components/AttachButton/AttachButton.js +43 -0
- package/emotion/es/components/Attach/components/AttachButton/index.js +1 -0
- package/emotion/es/components/Attach/index.js +2 -0
- package/emotion/es/components/Attach/ui/Button/Button.js +1 -0
- package/emotion/es/components/Attach/ui/Button/Button.styles.js +10 -0
- package/emotion/es/components/Attach/ui/Cell/Cell.js +1 -0
- package/emotion/es/components/Attach/ui/Cell/Cell.styles.js +10 -0
- package/emotion/es/components/Attach/ui/IconButton/IconButton.js +1 -0
- package/emotion/es/components/Attach/ui/IconButton/IconButton.styles.js +14 -0
- package/emotion/es/components/Attach/utils/extractExtension.js +3 -0
- package/emotion/es/components/Attach/utils/getFileicon.js +37 -0
- package/emotion/es/components/Attach/utils/index.js +3 -0
- package/emotion/es/components/Attach/utils/truncateFilename.js +17 -0
- package/emotion/es/components/Attach/variations/_size/base.js +3 -0
- package/emotion/es/components/Attach/variations/_view/base.js +3 -0
- package/emotion/es/components/Cell/Cell.js +3 -2
- package/emotion/es/components/TextField/TextField.js +4 -19
- package/emotion/es/components/TextField/TextField.styles.js +16 -20
- package/emotion/es/components/TextField/TextField.template-doc.mdx +17 -50
- package/emotion/es/components/TextField/TextField.tokens.js +0 -9
- package/emotion/es/components/TextField/variations/_disabled/base.js +1 -1
- package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
- package/emotion/es/components/_Icon/Icon.assets/BlankCsvOutline.js +25 -0
- package/emotion/es/components/_Icon/Icon.assets/BlankDocOutline.js +29 -0
- package/emotion/es/components/_Icon/Icon.assets/BlankOutline.js +16 -0
- package/emotion/es/components/_Icon/Icon.assets/BlankPdfOutline.js +21 -0
- package/emotion/es/components/_Icon/Icon.assets/BlankTxtOutline.js +25 -0
- package/emotion/es/components/_Icon/Icon.assets/BlankXlsOutline.js +25 -0
- package/emotion/es/components/_Icon/Icon.assets/CloseCircleOutline.js +16 -0
- package/emotion/es/components/_Icon/Icon.assets/Plus.js +16 -0
- package/emotion/es/components/_Icon/Icons/IconBlankCsvOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconBlankDocOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconBlankOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconBlankPdfOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconBlankTxtOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconBlankXlsOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconCloseCircleOutline.js +15 -0
- package/emotion/es/components/_Icon/Icons/IconPlus.js +15 -0
- package/emotion/es/components/_Icon/index.js +9 -1
- package/emotion/es/examples/plasma_b2c/components/Attach/Attach.config.js +31 -0
- package/emotion/es/examples/plasma_b2c/components/Attach/Attach.js +5 -0
- package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +12 -15
- package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
- package/emotion/es/examples/plasma_web/components/Attach/Attach.config.js +31 -0
- package/emotion/es/examples/plasma_web/components/Attach/Attach.js +5 -0
- package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
- package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +12 -15
- package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
- package/emotion/es/index.js +2 -1
- package/es/components/Attach/Attach.css +48 -0
- package/es/components/Attach/Attach.js +176 -0
- package/es/components/Attach/Attach.js.map +1 -0
- package/es/components/Attach/Attach.styles.js +17 -0
- package/es/components/Attach/Attach.styles.js.map +1 -0
- package/es/components/Attach/Attach.styles_fl8wha.css +3 -0
- package/es/components/Attach/Attach.tokens.js +125 -0
- package/es/components/Attach/Attach.tokens.js.map +1 -0
- package/es/components/Attach/components/AttachButton/AttachButton.css +34 -0
- package/es/components/Attach/components/AttachButton/AttachButton.js +46 -0
- package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -0
- package/es/components/Attach/ui/Button/Button.styles.js +19 -0
- package/es/components/Attach/ui/Button/Button.styles.js.map +1 -0
- package/es/components/Attach/ui/Button/Button.styles_bj69th.css +1 -0
- package/es/components/Attach/ui/Cell/Cell.styles.js +21 -0
- package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -0
- package/es/components/Attach/ui/Cell/Cell.styles_69w962.css +1 -0
- package/es/components/Attach/ui/IconButton/IconButton.styles.js +27 -0
- package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -0
- package/es/components/Attach/ui/IconButton/IconButton.styles_1q2jfs2.css +2 -0
- package/es/components/Attach/utils/extractExtension.js +6 -0
- package/es/components/Attach/utils/extractExtension.js.map +1 -0
- package/es/components/Attach/utils/getFileicon.js +47 -0
- package/es/components/Attach/utils/getFileicon.js.map +1 -0
- package/es/components/Attach/utils/truncateFilename.js +20 -0
- package/es/components/Attach/utils/truncateFilename.js.map +1 -0
- package/es/components/{TextField/variations/_clear → Attach/variations/_size}/base.js +2 -2
- package/es/components/Attach/variations/_size/base.js.map +1 -0
- package/es/components/Attach/variations/_size/base_eax0b8.css +1 -0
- package/es/components/Attach/variations/_view/base.js +5 -0
- package/es/components/Attach/variations/_view/base.js.map +1 -0
- package/es/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
- package/es/components/Autocomplete/Autocomplete.css +15 -17
- package/es/components/Cell/Cell.js +3 -2
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/Combobox.css +15 -17
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +15 -17
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +15 -17
- package/es/components/DatePicker/RangeDate/RangeDate.css +15 -17
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +15 -17
- package/es/components/DatePicker/SingleDate/SingleDate.css +15 -17
- package/es/components/Range/Range.css +15 -17
- package/es/components/Slider/Slider.css +15 -17
- package/es/components/Slider/components/Double/Double.css +15 -17
- package/es/components/TextField/TextField.js +9 -24
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +7 -15
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/{TextField.styles_1d2ryq.css → TextField.styles_uponva.css} +2 -2
- package/es/components/TextField/TextField.tokens.js +0 -9
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/variations/_disabled/base.js +1 -1
- package/es/components/TextField/variations/_disabled/base.js.map +1 -1
- package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
- package/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/base.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base_8onybn.css +1 -0
- package/es/components/_Icon/Icon.assets/BlankCsvOutline.js +29 -0
- package/es/components/_Icon/Icon.assets/BlankCsvOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/BlankDocOutline.js +33 -0
- package/es/components/_Icon/Icon.assets/BlankDocOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/BlankOutline.js +20 -0
- package/es/components/_Icon/Icon.assets/BlankOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/BlankPdfOutline.js +25 -0
- package/es/components/_Icon/Icon.assets/BlankPdfOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/BlankTxtOutline.js +29 -0
- package/es/components/_Icon/Icon.assets/BlankTxtOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/BlankXlsOutline.js +29 -0
- package/es/components/_Icon/Icon.assets/BlankXlsOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/CloseCircleOutline.js +20 -0
- package/es/components/_Icon/Icon.assets/CloseCircleOutline.js.map +1 -0
- package/es/components/_Icon/Icon.assets/Plus.js +20 -0
- package/es/components/_Icon/Icon.assets/Plus.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankCsvOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankCsvOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankDocOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankDocOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankPdfOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankPdfOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankTxtOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankTxtOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconBlankXlsOutline.js +19 -0
- package/es/components/_Icon/Icons/IconBlankXlsOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconCloseCircleOutline.js +19 -0
- package/es/components/_Icon/Icons/IconCloseCircleOutline.js.map +1 -0
- package/es/components/_Icon/Icons/IconPlus.js +19 -0
- package/es/components/_Icon/Icons/IconPlus.js.map +1 -0
- package/es/index.css +30 -17
- package/es/index.js +2 -0
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Attach/Attach.js +186 -0
- package/styled-components/cjs/components/Attach/Attach.styles.js +18 -0
- package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +63 -0
- package/styled-components/cjs/components/Attach/Attach.tokens.js +128 -0
- package/styled-components/cjs/components/Attach/Attach.types.js +5 -0
- package/styled-components/cjs/components/Attach/components/AttachButton/AttachButton.js +52 -0
- package/styled-components/cjs/components/Attach/components/AttachButton/index.js +12 -0
- package/styled-components/cjs/components/Attach/index.js +25 -0
- package/styled-components/cjs/components/Attach/ui/Button/Button.js +12 -0
- package/styled-components/cjs/components/Attach/ui/Button/Button.styles.js +16 -0
- package/styled-components/cjs/components/Attach/ui/Cell/Cell.js +12 -0
- package/styled-components/cjs/components/Attach/ui/Cell/Cell.styles.js +16 -0
- package/styled-components/cjs/components/Attach/ui/IconButton/IconButton.js +12 -0
- package/styled-components/cjs/components/Attach/ui/IconButton/IconButton.styles.js +19 -0
- package/styled-components/cjs/components/Attach/utils/extractExtension.js +9 -0
- package/styled-components/cjs/components/Attach/utils/getFileicon.js +44 -0
- package/styled-components/cjs/components/Attach/utils/index.js +26 -0
- package/styled-components/cjs/components/Attach/utils/truncateFilename.js +23 -0
- package/styled-components/cjs/components/Attach/variations/_size/base.js +9 -0
- package/styled-components/cjs/components/Attach/variations/_view/base.js +9 -0
- package/styled-components/cjs/components/Cell/Cell.js +3 -2
- package/styled-components/cjs/components/TextField/TextField.js +9 -24
- package/styled-components/cjs/components/TextField/TextField.styles.js +3 -7
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +17 -50
- package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -9
- package/styled-components/cjs/components/TextField/variations/_disabled/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +32 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +36 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankOutline.js +23 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +28 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +32 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +32 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +23 -0
- package/styled-components/cjs/components/_Icon/Icon.assets/Plus.js +23 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankDocOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +22 -0
- package/styled-components/cjs/components/_Icon/Icons/IconPlus.js +22 -0
- package/styled-components/cjs/components/_Icon/index.js +57 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +37 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.js +11 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +9 -12
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
- package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.config.js +37 -0
- package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.js +11 -0
- package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +9 -12
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
- package/styled-components/cjs/index.js +11 -0
- package/styled-components/es/components/Attach/Attach.js +177 -0
- package/styled-components/es/components/Attach/Attach.styles.js +10 -0
- package/styled-components/es/components/Attach/Attach.template-doc.mdx +63 -0
- package/styled-components/es/components/Attach/Attach.tokens.js +122 -0
- package/styled-components/es/components/Attach/Attach.types.js +1 -0
- package/styled-components/es/components/Attach/components/AttachButton/AttachButton.js +43 -0
- package/styled-components/es/components/Attach/components/AttachButton/index.js +1 -0
- package/styled-components/es/components/Attach/index.js +2 -0
- package/styled-components/es/components/Attach/ui/Button/Button.js +1 -0
- package/styled-components/es/components/Attach/ui/Button/Button.styles.js +9 -0
- package/styled-components/es/components/Attach/ui/Cell/Cell.js +1 -0
- package/styled-components/es/components/Attach/ui/Cell/Cell.styles.js +9 -0
- package/styled-components/es/components/Attach/ui/IconButton/IconButton.js +1 -0
- package/styled-components/es/components/Attach/ui/IconButton/IconButton.styles.js +12 -0
- package/styled-components/es/components/Attach/utils/extractExtension.js +3 -0
- package/styled-components/es/components/Attach/utils/getFileicon.js +37 -0
- package/styled-components/es/components/Attach/utils/index.js +3 -0
- package/styled-components/es/components/Attach/utils/truncateFilename.js +17 -0
- package/styled-components/es/components/Attach/variations/_size/base.js +3 -0
- package/styled-components/es/components/Attach/variations/_view/base.js +3 -0
- package/styled-components/es/components/Cell/Cell.js +3 -2
- package/styled-components/es/components/TextField/TextField.js +3 -18
- package/styled-components/es/components/TextField/TextField.styles.js +3 -7
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +17 -50
- package/styled-components/es/components/TextField/TextField.tokens.js +0 -9
- package/styled-components/es/components/TextField/variations/_disabled/base.js +1 -1
- package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
- package/styled-components/es/components/_Icon/Icon.assets/BlankCsvOutline.js +25 -0
- package/styled-components/es/components/_Icon/Icon.assets/BlankDocOutline.js +29 -0
- package/styled-components/es/components/_Icon/Icon.assets/BlankOutline.js +16 -0
- package/styled-components/es/components/_Icon/Icon.assets/BlankPdfOutline.js +21 -0
- package/styled-components/es/components/_Icon/Icon.assets/BlankTxtOutline.js +25 -0
- package/styled-components/es/components/_Icon/Icon.assets/BlankXlsOutline.js +25 -0
- package/styled-components/es/components/_Icon/Icon.assets/CloseCircleOutline.js +16 -0
- package/styled-components/es/components/_Icon/Icon.assets/Plus.js +16 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankCsvOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankDocOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankPdfOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankTxtOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconBlankXlsOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconCloseCircleOutline.js +15 -0
- package/styled-components/es/components/_Icon/Icons/IconPlus.js +15 -0
- package/styled-components/es/components/_Icon/index.js +9 -1
- package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.config.js +31 -0
- package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.js +5 -0
- package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +9 -12
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
- package/styled-components/es/examples/plasma_web/components/Attach/Attach.config.js +31 -0
- package/styled-components/es/examples/plasma_web/components/Attach/Attach.js +5 -0
- package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +9 -12
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
- package/styled-components/es/index.js +2 -1
- package/types/components/Attach/Attach.d.ts +23 -0
- package/types/components/Attach/Attach.d.ts.map +1 -0
- package/types/components/Attach/Attach.styles.d.ts +5 -0
- package/types/components/Attach/Attach.styles.d.ts.map +1 -0
- package/types/components/Attach/Attach.tokens.d.ts +119 -0
- package/types/components/Attach/Attach.tokens.d.ts.map +1 -0
- package/types/components/Attach/Attach.types.d.ts +43 -0
- package/types/components/Attach/Attach.types.d.ts.map +1 -0
- package/types/components/Attach/components/AttachButton/AttachButton.d.ts +4 -0
- package/types/components/Attach/components/AttachButton/AttachButton.d.ts.map +1 -0
- package/types/components/Attach/components/AttachButton/index.d.ts +2 -0
- package/types/components/Attach/components/AttachButton/index.d.ts.map +1 -0
- package/types/components/Attach/index.d.ts +4 -0
- package/types/components/Attach/index.d.ts.map +1 -0
- package/types/components/Attach/ui/Button/Button.d.ts +2 -0
- package/types/components/Attach/ui/Button/Button.d.ts.map +1 -0
- package/types/components/Attach/ui/Button/Button.styles.d.ts +45 -0
- package/types/components/Attach/ui/Button/Button.styles.d.ts.map +1 -0
- package/types/components/Attach/ui/Cell/Cell.d.ts +2 -0
- package/types/components/Attach/ui/Cell/Cell.d.ts.map +1 -0
- package/types/components/Attach/ui/Cell/Cell.styles.d.ts +33 -0
- package/types/components/Attach/ui/Cell/Cell.styles.d.ts.map +1 -0
- package/types/components/Attach/ui/IconButton/IconButton.d.ts +2 -0
- package/types/components/Attach/ui/IconButton/IconButton.d.ts.map +1 -0
- package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +88 -0
- package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts.map +1 -0
- package/types/components/Attach/utils/extractExtension.d.ts +2 -0
- package/types/components/Attach/utils/extractExtension.d.ts.map +1 -0
- package/types/components/Attach/utils/getFileicon.d.ts +3 -0
- package/types/components/Attach/utils/getFileicon.d.ts.map +1 -0
- package/types/components/Attach/utils/index.d.ts +4 -0
- package/types/components/Attach/utils/index.d.ts.map +1 -0
- package/types/components/Attach/utils/truncateFilename.d.ts +7 -0
- package/types/components/Attach/utils/truncateFilename.d.ts.map +1 -0
- package/types/components/Attach/variations/_size/base.d.ts.map +1 -0
- package/types/components/Attach/variations/_view/base.d.ts +2 -0
- package/types/components/Attach/variations/_view/base.d.ts.map +1 -0
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -120
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Cell/Cell.d.ts.map +1 -1
- package/types/components/Cell/Cell.types.d.ts +1 -1
- package/types/components/Cell/Cell.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -120
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -120
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Range/Range.styles.d.ts +0 -120
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +0 -120
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts +0 -4
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +4 -5
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +0 -9
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +1 -20
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/variations/_disabled/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
- package/types/components/_Icon/Icon.assets/BlankCsvOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankCsvOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/BlankDocOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankDocOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/BlankOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/BlankPdfOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankPdfOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/BlankTxtOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankTxtOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/BlankXlsOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/BlankXlsOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/CloseCircleOutline.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/CloseCircleOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icon.assets/Plus.d.ts +4 -0
- package/types/components/_Icon/Icon.assets/Plus.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankCsvOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankCsvOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankDocOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankDocOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankPdfOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankPdfOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankTxtOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankTxtOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconBlankXlsOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconBlankXlsOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconCloseCircleOutline.d.ts +4 -0
- package/types/components/_Icon/Icons/IconCloseCircleOutline.d.ts.map +1 -0
- package/types/components/_Icon/Icons/IconPlus.d.ts +4 -0
- package/types/components/_Icon/Icons/IconPlus.d.ts.map +1 -0
- package/types/components/_Icon/index.d.ts +8 -0
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts +30 -0
- package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +224 -0
- package/types/examples/plasma_b2c/components/Attach/Attach.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -236
- package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -3
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -123
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Attach/Attach.config.d.ts +30 -0
- package/types/examples/plasma_web/components/Attach/Attach.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Attach/Attach.d.ts +224 -0
- package/types/examples/plasma_web/components/Attach/Attach.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +2 -2
- package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -236
- package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -3
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -123
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/TextField/variations/_clear/base.js.map +0 -1
- package/cjs/components/TextField/variations/_clear/base_1v36fe3.css +0 -1
- package/cjs/components/TextField/variations/_disabled/base_2tv0nz.css +0 -1
- package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
- package/cjs/components/TextField/variations/_read-only/base_kcc8wi.css +0 -1
- package/emotion/cjs/components/TextField/variations/_clear/base.js +0 -10
- package/emotion/cjs/components/TextField/variations/_clear/tokens.json +0 -10
- package/emotion/es/components/TextField/variations/_clear/base.js +0 -4
- package/emotion/es/components/TextField/variations/_clear/tokens.json +0 -10
- package/es/components/TextField/variations/_clear/base.js.map +0 -1
- package/es/components/TextField/variations/_clear/base_1v36fe3.css +0 -1
- package/es/components/TextField/variations/_disabled/base_2tv0nz.css +0 -1
- package/es/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
- package/es/components/TextField/variations/_read-only/base_kcc8wi.css +0 -1
- package/styled-components/cjs/components/TextField/variations/_clear/base.js +0 -10
- package/styled-components/cjs/components/TextField/variations/_clear/tokens.json +0 -10
- package/styled-components/es/components/TextField/variations/_clear/base.js +0 -4
- package/styled-components/es/components/TextField/variations/_clear/tokens.json +0 -10
- package/types/components/TextField/variations/_clear/base.d.ts.map +0 -1
- /package/types/components/{TextField/variations/_clear → Attach/variations/_size}/base.d.ts +0 -0
@@ -16,9 +16,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
16
16
|
inner: import("@linaria/core").LinariaClassName;
|
17
17
|
outer: import("@linaria/core").LinariaClassName;
|
18
18
|
};
|
19
|
-
clear: {
|
20
|
-
true: import("@linaria/core").LinariaClassName;
|
21
|
-
};
|
22
19
|
disabled: {
|
23
20
|
true: import("@linaria/core").LinariaClassName;
|
24
21
|
};
|
@@ -44,63 +41,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
44
41
|
} & {
|
45
42
|
required: true;
|
46
43
|
optional?: false | undefined;
|
47
|
-
} & {
|
48
|
-
clear?: boolean | undefined;
|
49
|
-
hasDivider?: boolean | undefined;
|
50
|
-
} & {
|
51
|
-
chips?: undefined;
|
52
|
-
onChangeChips?: undefined;
|
53
|
-
enumerationType?: "plain" | undefined;
|
54
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
55
|
-
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
56
|
-
size?: string | undefined;
|
57
|
-
view?: string | undefined;
|
58
|
-
readOnly?: boolean | undefined;
|
59
|
-
disabled?: boolean | undefined;
|
60
|
-
} & {
|
61
|
-
label?: string | undefined;
|
62
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
63
|
-
leftHelper?: string | undefined;
|
64
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
65
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
66
|
-
textBefore?: string | undefined;
|
67
|
-
textAfter?: string | undefined;
|
68
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
69
|
-
} & {
|
70
|
-
requiredPlacement?: "left" | "right" | undefined;
|
71
|
-
} & {
|
72
|
-
required: true;
|
73
|
-
optional?: false | undefined;
|
74
|
-
} & {
|
75
|
-
clear?: boolean | undefined;
|
76
|
-
hasDivider?: boolean | undefined;
|
77
|
-
} & {
|
78
|
-
enumerationType: "chip";
|
79
|
-
onSearch?: undefined;
|
80
|
-
chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
81
|
-
onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
82
|
-
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
83
|
-
size?: string | undefined;
|
84
|
-
view?: string | undefined;
|
85
|
-
readOnly?: boolean | undefined;
|
86
|
-
disabled?: boolean | undefined;
|
87
|
-
} & {
|
88
|
-
label?: string | undefined;
|
89
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
90
|
-
leftHelper?: string | undefined;
|
91
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
92
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
93
|
-
textBefore?: string | undefined;
|
94
|
-
textAfter?: string | undefined;
|
95
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
96
|
-
} & {
|
97
|
-
requiredPlacement?: "left" | "right" | undefined;
|
98
|
-
} & {
|
99
|
-
required: true;
|
100
|
-
optional?: false | undefined;
|
101
|
-
} & {
|
102
|
-
clear?: false | undefined;
|
103
|
-
hasDivider?: undefined;
|
104
44
|
} & {
|
105
45
|
chips?: undefined;
|
106
46
|
onChangeChips?: undefined;
|
@@ -125,9 +65,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
125
65
|
} & {
|
126
66
|
required: true;
|
127
67
|
optional?: false | undefined;
|
128
|
-
} & {
|
129
|
-
clear?: false | undefined;
|
130
|
-
hasDivider?: undefined;
|
131
68
|
} & {
|
132
69
|
enumerationType: "chip";
|
133
70
|
onSearch?: undefined;
|
@@ -152,9 +89,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
152
89
|
} & {
|
153
90
|
optional?: true | undefined;
|
154
91
|
required?: false | undefined;
|
155
|
-
} & {
|
156
|
-
clear?: boolean | undefined;
|
157
|
-
hasDivider?: boolean | undefined;
|
158
92
|
} & {
|
159
93
|
chips?: undefined;
|
160
94
|
onChangeChips?: undefined;
|
@@ -179,63 +113,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
|
|
179
113
|
} & {
|
180
114
|
optional?: true | undefined;
|
181
115
|
required?: false | undefined;
|
182
|
-
} & {
|
183
|
-
clear?: boolean | undefined;
|
184
|
-
hasDivider?: boolean | undefined;
|
185
|
-
} & {
|
186
|
-
enumerationType: "chip";
|
187
|
-
onSearch?: undefined;
|
188
|
-
chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
189
|
-
onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
190
|
-
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
191
|
-
size?: string | undefined;
|
192
|
-
view?: string | undefined;
|
193
|
-
readOnly?: boolean | undefined;
|
194
|
-
disabled?: boolean | undefined;
|
195
|
-
} & {
|
196
|
-
label?: string | undefined;
|
197
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
198
|
-
leftHelper?: string | undefined;
|
199
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
200
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
201
|
-
textBefore?: string | undefined;
|
202
|
-
textAfter?: string | undefined;
|
203
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
204
|
-
} & {
|
205
|
-
requiredPlacement?: "left" | "right" | undefined;
|
206
|
-
} & {
|
207
|
-
optional?: true | undefined;
|
208
|
-
required?: false | undefined;
|
209
|
-
} & {
|
210
|
-
clear?: false | undefined;
|
211
|
-
hasDivider?: undefined;
|
212
|
-
} & {
|
213
|
-
chips?: undefined;
|
214
|
-
onChangeChips?: undefined;
|
215
|
-
enumerationType?: "plain" | undefined;
|
216
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
217
|
-
} & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
218
|
-
size?: string | undefined;
|
219
|
-
view?: string | undefined;
|
220
|
-
readOnly?: boolean | undefined;
|
221
|
-
disabled?: boolean | undefined;
|
222
|
-
} & {
|
223
|
-
label?: string | undefined;
|
224
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
225
|
-
leftHelper?: string | undefined;
|
226
|
-
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
227
|
-
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
228
|
-
textBefore?: string | undefined;
|
229
|
-
textAfter?: string | undefined;
|
230
|
-
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
231
|
-
} & {
|
232
|
-
requiredPlacement?: "left" | "right" | undefined;
|
233
|
-
} & {
|
234
|
-
optional?: true | undefined;
|
235
|
-
required?: false | undefined;
|
236
|
-
} & {
|
237
|
-
clear?: false | undefined;
|
238
|
-
hasDivider?: undefined;
|
239
116
|
} & {
|
240
117
|
enumerationType: "chip";
|
241
118
|
onSearch?: undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJAA0B,CAAC"}
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n Label,\n StyledContentLeft,\n StyledContentRight,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.outerLabelPlacement} {\n ${Label} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAYO,IAAMA,IAAI,GAmEhB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .s600610{margin-left:0;}.bg547ku.textfield-clear .suk2zst{margin-right:0;}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear.label-placement-outer .lbt1ohz{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b15zsg4z[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.b15zsg4z[disabled] .io4bpie{cursor:not-allowed;min-width:unset;}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b15d3bnf.label-placement-outer .lbt1ohz{position:relative;display:inline-block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner .i13qvwoy{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .s190z894,.b15d3bnf.label-placement-inner .ssv2kwg{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .lbt1ohz,.b15d3bnf.label-placement-inner .io4bpie.has-value ~ .lbt1ohz{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner .lbt1ohz{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;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;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.b15d3bnf.label-placement-inner.textfield-clear .lbt1ohz{color:var(--plasma-textfield__clear-placeholder-color);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1w985rt[readonly] .iq39zt5{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.b1w985rt[readonly].hasDivider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .l1gjsnfi{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly].label-placement-outer .lbt1ohz{color:var(--plasma-textfield__label-color-readonly);}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _react = /*#__PURE__*/require("@emotion/react");
|
8
|
-
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
|
-
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.clear, "{&[readonly] ", _TextField2.InputWrapper, ",", _TextField2.InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", _TextField2.StyledContentLeft, "{margin-left:0;}", _TextField2.StyledContentRight, "{margin-right:0;}", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.clearPlaceholderColor, ");}&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.Label, "{margin-bottom:var(", _TextField.tokens.clearLabelOffset, ");}}", _TextField2.Input, "{color:var(", _TextField.tokens.clearColor, ");}&.", _TextField.classes.hasDivider, "{", _TextField2.InputWrapper, "{--plasma_private-textfield-divider-color:var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", _TextField2.InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );}&:not([readonly]) ", _TextField2.InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBMYWJlbCxcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG59IGZyb20gJy4uLy4uL1RleHRGaWVsZC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5jbGVhcn0ge1xuICAgICAgICAmW3JlYWRvbmx5XSAke0lucHV0V3JhcHBlcn0sICR7SW5wdXRXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRMZWZ0fSB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkQ29udGVudFJpZ2h0fSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0UGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmNsZWFyTGFiZWxPZmZzZXR9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { css } from '@emotion/react';
|
2
|
-
import { classes, tokens } from '../../TextField.tokens';
|
3
|
-
import { Input, InputPlaceholder, InputWrapper, Label, StyledContentLeft, StyledContentRight } from '../../TextField.styles';
|
4
|
-
export var base = /*#__PURE__*/css("&.", classes.clear, "{&[readonly] ", InputWrapper, ",", InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", StyledContentLeft, "{margin-left:0;}", StyledContentRight, "{margin-right:0;}", InputPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.outerLabelPlacement, "{", Label, "{margin-bottom:var(", tokens.clearLabelOffset, ");}}", Input, "{color:var(", tokens.clearColor, ");}&.", classes.hasDivider, "{", InputWrapper, "{--plasma_private-textfield-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBMYWJlbCxcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG59IGZyb20gJy4uLy4uL1RleHRGaWVsZC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5jbGVhcn0ge1xuICAgICAgICAmW3JlYWRvbmx5XSAke0lucHV0V3JhcHBlcn0sICR7SW5wdXRXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRMZWZ0fSB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkQ29udGVudFJpZ2h0fSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0UGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmNsZWFyTGFiZWxPZmZzZXR9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n Label,\n StyledContentLeft,\n StyledContentRight,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.outerLabelPlacement} {\n ${Label} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAYO,IAAMA,IAAI,GAmEhB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .s600610{margin-left:0;}.bg547ku.textfield-clear .suk2zst{margin-right:0;}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear.label-placement-outer .lbt1ohz{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b15zsg4z[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.b15zsg4z[disabled] .io4bpie{cursor:not-allowed;min-width:unset;}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b15d3bnf.label-placement-outer .lbt1ohz{position:relative;display:inline-block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner .i13qvwoy{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .s190z894,.b15d3bnf.label-placement-inner .ssv2kwg{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .lbt1ohz,.b15d3bnf.label-placement-inner .io4bpie.has-value ~ .lbt1ohz{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner .lbt1ohz{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;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;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.b15d3bnf.label-placement-inner.textfield-clear .lbt1ohz{color:var(--plasma-textfield__clear-placeholder-color);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1w985rt[readonly] .iq39zt5{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.b1w985rt[readonly].hasDivider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .l1gjsnfi{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly].label-placement-outer .lbt1ohz{color:var(--plasma-textfield__label-color-readonly);}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.base = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _TextField = /*#__PURE__*/require("../../TextField.tokens");
|
9
|
-
var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
|
10
|
-
var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{&[readonly] ", ",", "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", "{margin-left:0;}", "{margin-right:0;}", "{color:var(", ");}&.", "{", "{margin-bottom:var(", ");}}", "{color:var(", ");}&.", "{", "{--plasma_private-textfield-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}}}"], _TextField.classes.clear, _TextField2.InputWrapper, _TextField2.InputWrapper, _TextField2.StyledContentLeft, _TextField2.StyledContentRight, _TextField2.InputPlaceholder, _TextField.tokens.clearPlaceholderColor, _TextField.classes.outerLabelPlacement, _TextField2.Label, _TextField.tokens.clearLabelOffset, _TextField2.Input, _TextField.tokens.clearColor, _TextField.classes.hasDivider, _TextField2.InputWrapper, /*#__PURE__*/String(_TextField.tokens.dividerColor), _TextField2.InputWrapper, _TextField.tokens.dividerColorHover, /*#__PURE__*/String(_TextField.tokens.dividerColor), _TextField2.InputWrapper, _TextField.tokens.dividerColorFocus, /*#__PURE__*/String(_TextField.tokens.dividerColor));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { css } from 'styled-components';
|
2
|
-
import { classes, tokens } from '../../TextField.tokens';
|
3
|
-
import { Input, InputPlaceholder, InputWrapper, Label, StyledContentLeft, StyledContentRight } from '../../TextField.styles';
|
4
|
-
export var base = /*#__PURE__*/css(["&.", "{&[readonly] ", ",", "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", "{margin-left:0;}", "{margin-right:0;}", "{color:var(", ");}&.", "{", "{margin-bottom:var(", ");}}", "{color:var(", ");}&.", "{", "{--plasma_private-textfield-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}}}"], classes.clear, InputWrapper, InputWrapper, StyledContentLeft, StyledContentRight, InputPlaceholder, tokens.clearPlaceholderColor, classes.outerLabelPlacement, Label, tokens.clearLabelOffset, Input, tokens.clearColor, classes.hasDivider, InputWrapper, /*#__PURE__*/String(tokens.dividerColor), InputWrapper, tokens.dividerColorHover, /*#__PURE__*/String(tokens.dividerColor), InputWrapper, tokens.dividerColorFocus, /*#__PURE__*/String(tokens.dividerColor));
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,IAAI,0CAmEhB,CAAC"}
|
File without changes
|