@salutejs/plasma-new-hope 0.317.0-canary.1877.14213779024.0 → 0.317.0-canary.1880.14216408760.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -52
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.css +10 -10
- package/cjs/components/Checkbox/Checkbox.js +2 -2
- package/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/cjs/components/Checkbox/Checkbox.styles.js +1 -1
- package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/cjs/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
- package/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
- package/cjs/components/Checkbox/Checkbox.tokens.js.map +1 -1
- package/cjs/components/Checkbox/variations/_focused/base.js +1 -1
- package/cjs/components/Checkbox/variations/_focused/base.js.map +1 -1
- package/{es/components/Checkbox/variations/_focused/base_x86p0b.css → cjs/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
- package/cjs/components/Checkbox/variations/_view/base.js +1 -1
- package/cjs/components/Checkbox/variations/_view/base.js.map +1 -1
- package/cjs/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -22
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/{es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
- package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
- package/cjs/components/Pagination/Pagination.css +19 -19
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
- package/cjs/components/Radiobox/Radiobox.css +11 -11
- package/cjs/components/Radiobox/Radiobox.styles.js +1 -1
- package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -1
- package/cjs/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
- package/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
- package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -1
- package/cjs/components/Radiobox/variations/_view/base.js +1 -1
- package/cjs/components/Radiobox/variations/_view/base.js.map +1 -1
- package/cjs/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
- package/cjs/components/Select/Select.css +19 -19
- package/cjs/components/Select/Select.tokens.js +0 -2
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Inner/Inner.css +19 -19
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
- package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
- package/cjs/components/Select/ui/VirtualList/VirtualList.css +19 -19
- package/cjs/components/Table/Table.css +19 -19
- package/cjs/components/Table/ui/Cell/Cell.css +19 -19
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +19 -19
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +19 -19
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
- package/cjs/engines/linaria.js +4 -2
- package/cjs/engines/linaria.js.map +1 -1
- package/cjs/index.css +33 -33
- package/cjs/index.js +0 -2
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js.map +1 -1
- package/emotion/cjs/components/Checkbox/Checkbox.js +2 -2
- package/emotion/cjs/components/Checkbox/Checkbox.styles.js +8 -8
- package/emotion/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
- package/emotion/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
- package/emotion/cjs/components/Checkbox/variations/_focused/base.js +2 -2
- package/emotion/cjs/components/Checkbox/variations/_view/base.js +1 -1
- package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
- package/emotion/cjs/components/Radiobox/Radiobox.styles.js +3 -3
- package/emotion/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
- package/emotion/cjs/components/Radiobox/variations/_view/base.js +1 -1
- package/emotion/cjs/components/Select/Select.tokens.js +0 -2
- package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
- package/emotion/cjs/components/Typography/Typography.template-doc.mdx +16 -0
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
- package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +24 -24
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
- package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
- package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
- package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +24 -24
- package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
- package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
- package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
- package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
- package/emotion/cjs/utils/index.js +0 -8
- package/emotion/es/components/Checkbox/Checkbox.js +2 -2
- package/emotion/es/components/Checkbox/Checkbox.styles.js +8 -8
- package/emotion/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
- package/emotion/es/components/Checkbox/Checkbox.tokens.js +0 -2
- package/emotion/es/components/Checkbox/variations/_focused/base.js +2 -2
- package/emotion/es/components/Checkbox/variations/_view/base.js +1 -1
- package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
- package/emotion/es/components/Radiobox/Radiobox.styles.js +3 -3
- package/emotion/es/components/Radiobox/Radiobox.tokens.js +0 -2
- package/emotion/es/components/Radiobox/variations/_view/base.js +1 -1
- package/emotion/es/components/Select/Select.tokens.js +0 -2
- package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
- package/emotion/es/components/Typography/Typography.template-doc.mdx +16 -0
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
- package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
- package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +24 -24
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
- package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
- package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
- package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/emotion/es/examples/plasma_web/components/Select/Select.config.js +24 -24
- package/emotion/es/examples/typography/components/Body/Body.stories.tsx +4 -1
- package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
- package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
- package/emotion/es/examples/typography/components/Text/Text.stories.tsx +4 -1
- package/emotion/es/utils/index.js +0 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -52
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/components/Checkbox/Checkbox.css +10 -10
- package/es/components/Checkbox/Checkbox.js +2 -2
- package/es/components/Checkbox/Checkbox.js.map +1 -1
- package/es/components/Checkbox/Checkbox.styles.js +1 -1
- package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/es/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
- package/es/components/Checkbox/Checkbox.tokens.js +0 -2
- package/es/components/Checkbox/Checkbox.tokens.js.map +1 -1
- package/es/components/Checkbox/variations/_focused/base.js +1 -1
- package/es/components/Checkbox/variations/_focused/base.js.map +1 -1
- package/{cjs/components/Checkbox/variations/_focused/base_x86p0b.css → es/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
- package/es/components/Checkbox/variations/_view/base.js +1 -1
- package/es/components/Checkbox/variations/_view/base.js.map +1 -1
- package/es/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
- package/es/components/Combobox/ComboboxNew/Combobox.css +22 -22
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
- package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/{cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
- package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
- package/es/components/Pagination/Pagination.css +19 -19
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
- package/es/components/Radiobox/Radiobox.css +11 -11
- package/es/components/Radiobox/Radiobox.styles.js +1 -1
- package/es/components/Radiobox/Radiobox.styles.js.map +1 -1
- package/es/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
- package/es/components/Radiobox/Radiobox.tokens.js +0 -2
- package/es/components/Radiobox/Radiobox.tokens.js.map +1 -1
- package/es/components/Radiobox/variations/_view/base.js +1 -1
- package/es/components/Radiobox/variations/_view/base.js.map +1 -1
- package/es/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
- package/es/components/Select/Select.css +19 -19
- package/es/components/Select/Select.tokens.js +0 -2
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Inner/Inner.css +19 -19
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
- package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
- package/es/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
- package/es/components/Select/ui/VirtualList/VirtualList.css +19 -19
- package/es/components/Table/Table.css +19 -19
- package/es/components/Table/ui/Cell/Cell.css +19 -19
- package/es/components/Table/ui/EditableCell/EditableCell.css +19 -19
- package/es/components/Table/ui/HeadCell/HeadCell.css +19 -19
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
- package/es/engines/linaria.js +4 -2
- package/es/engines/linaria.js.map +1 -1
- package/es/index.css +33 -33
- package/es/index.js +0 -1
- package/es/index.js.map +1 -1
- package/es/utils/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Checkbox/Checkbox.js +2 -2
- package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +1 -1
- package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
- package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
- package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +1 -1
- package/styled-components/cjs/components/Checkbox/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
- package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +1 -1
- package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
- package/styled-components/cjs/components/Radiobox/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/Select/Select.tokens.js +0 -2
- package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
- package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +16 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
- package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
- package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
- package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
- package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +4 -4
- package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
- package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
- package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
- package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
- package/styled-components/cjs/utils/index.js +0 -8
- package/styled-components/es/components/Checkbox/Checkbox.js +2 -2
- package/styled-components/es/components/Checkbox/Checkbox.styles.js +1 -1
- package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
- package/styled-components/es/components/Checkbox/Checkbox.tokens.js +0 -2
- package/styled-components/es/components/Checkbox/variations/_focused/base.js +1 -1
- package/styled-components/es/components/Checkbox/variations/_view/base.js +1 -1
- package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
- package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
- package/styled-components/es/components/Radiobox/Radiobox.styles.js +1 -1
- package/styled-components/es/components/Radiobox/Radiobox.tokens.js +0 -2
- package/styled-components/es/components/Radiobox/variations/_view/base.js +1 -1
- package/styled-components/es/components/Select/Select.tokens.js +0 -2
- package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
- package/styled-components/es/components/Typography/Typography.template-doc.mdx +16 -0
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
- package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
- package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
- package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
- package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
- package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
- package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +4 -4
- package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +4 -1
- package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
- package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
- package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +4 -1
- package/styled-components/es/utils/index.js +0 -1
- package/types/components/Checkbox/Checkbox.tokens.d.ts +0 -2
- package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -1
- package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -2
- package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
- package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -1
- package/types/components/Radiobox/Radiobox.tokens.d.ts +0 -2
- package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -1
- package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +0 -2
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
- package/types/components/Typography/Body/Body.d.ts +2 -2
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +2 -2
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +2 -2
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +2 -2
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +1 -1
- package/types/components/Typography/Typography.d.ts.map +1 -1
- package/types/components/Typography/Typography.types.d.ts +2 -1
- package/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/cjs/components/Checkbox/variations/_view/base_tj850e.css +0 -1
- package/cjs/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
- package/cjs/utils/createConditionalComponent.js +0 -41
- package/cjs/utils/createConditionalComponent.js.map +0 -1
- package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
- package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
- package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
- package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
- package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
- package/emotion/cjs/examples/typography/components/Old/Body/Body.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
- package/emotion/cjs/examples/typography/components/Old/Button/Button.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
- package/emotion/cjs/examples/typography/components/Old/Display/Display.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
- package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
- package/emotion/cjs/utils/createConditionalComponent.js +0 -38
- package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
- package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
- package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
- package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
- package/emotion/es/examples/typography/components/Old/Body/Body.config.js +0 -14
- package/emotion/es/examples/typography/components/Old/Body/Body.js +0 -5
- package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Button/Button.config.js +0 -13
- package/emotion/es/examples/typography/components/Old/Button/Button.js +0 -5
- package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
- package/emotion/es/examples/typography/components/Old/Caption/Caption.js +0 -5
- package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Display/Display.config.js +0 -14
- package/emotion/es/examples/typography/components/Old/Display/Display.js +0 -5
- package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
- package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
- package/emotion/es/examples/typography/components/Old/Headline/Headline.js +0 -5
- package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
- package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
- package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
- package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
- package/emotion/es/examples/typography/components/Old/Underline/Underline.js +0 -5
- package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
- package/emotion/es/utils/createConditionalComponent.js +0 -31
- package/es/components/Checkbox/variations/_view/base_tj850e.css +0 -1
- package/es/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
- package/es/utils/createConditionalComponent.js +0 -33
- package/es/utils/createConditionalComponent.js.map +0 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
- package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
- package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
- package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
- package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
- package/styled-components/cjs/utils/createConditionalComponent.js +0 -38
- package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
- package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
- package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
- package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
- package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +0 -14
- package/styled-components/es/examples/typography/components/Old/Body/Body.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +0 -13
- package/styled-components/es/examples/typography/components/Old/Button/Button.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +0 -14
- package/styled-components/es/examples/typography/components/Old/Display/Display.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +0 -5
- package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
- package/styled-components/es/utils/createConditionalComponent.js +0 -31
- package/types/utils/createConditionalComponent.d.ts +0 -12
- package/types/utils/createConditionalComponent.d.ts.map +0 -1
package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Radiobox = /*#__PURE__*/require("../../../../components/Radiobox");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
view: 'accent',
|
12
|
-
focused: 'true'
|
13
|
-
},
|
14
|
-
variations: {
|
15
|
-
/**
|
16
|
-
* Размер контрола.
|
17
|
-
*/
|
18
|
-
size: {
|
19
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.0625rem 0;", ":1rem;", ":1.125rem;", ":0.0625rem;", ":0.5rem;", ":0;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":0.125rem;", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _Radiobox.radioboxTokens.margin, _Radiobox.radioboxTokens.triggerPadding, _Radiobox.radioboxTokens.triggerSize, _Radiobox.radioboxTokens.triggerBorderRadius, _Radiobox.radioboxTokens.triggerBorderWidth, _Radiobox.radioboxTokens.ellipseSize, _Radiobox.radioboxTokens.contentTopOffset, _Radiobox.radioboxTokens.contentLeftOffset, _Radiobox.radioboxTokens.labelFontFamily, _Radiobox.radioboxTokens.labelFontSize, _Radiobox.radioboxTokens.labelFontStyle, _Radiobox.radioboxTokens.labelFontWeight, _Radiobox.radioboxTokens.labelLetterSpacing, _Radiobox.radioboxTokens.labelLineHeight, _Radiobox.radioboxTokens.descriptionFontFamily, _Radiobox.radioboxTokens.descriptionMarginTop, _Radiobox.radioboxTokens.descriptionFontSize, _Radiobox.radioboxTokens.descriptionFontStyle, _Radiobox.radioboxTokens.descriptionFontWeight, _Radiobox.radioboxTokens.descriptionLetterSpacing, _Radiobox.radioboxTokens.descriptionLineHeight),
|
20
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.0625rem;", ":1.375rem;", ":1.125rem;", ":0.0625rem;", ":0.625rem;", ":0.125rem;", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":0.125rem;", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], _Radiobox.radioboxTokens.margin, _Radiobox.radioboxTokens.triggerPadding, _Radiobox.radioboxTokens.triggerSize, _Radiobox.radioboxTokens.triggerBorderRadius, _Radiobox.radioboxTokens.triggerBorderWidth, _Radiobox.radioboxTokens.ellipseSize, _Radiobox.radioboxTokens.contentTopOffset, _Radiobox.radioboxTokens.contentLeftOffset, _Radiobox.radioboxTokens.labelFontFamily, _Radiobox.radioboxTokens.labelFontSize, _Radiobox.radioboxTokens.labelFontStyle, _Radiobox.radioboxTokens.labelFontWeight, _Radiobox.radioboxTokens.labelLetterSpacing, _Radiobox.radioboxTokens.labelLineHeight, _Radiobox.radioboxTokens.descriptionFontFamily, _Radiobox.radioboxTokens.descriptionMarginTop, _Radiobox.radioboxTokens.descriptionFontSize, _Radiobox.radioboxTokens.descriptionFontStyle, _Radiobox.radioboxTokens.descriptionFontWeight, _Radiobox.radioboxTokens.descriptionLetterSpacing, _Radiobox.radioboxTokens.descriptionLineHeight)
|
21
|
-
},
|
22
|
-
/**
|
23
|
-
* Вид контрола.
|
24
|
-
*/
|
25
|
-
view: {
|
26
|
-
accent: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-accent);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
27
|
-
// deprecated
|
28
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-default);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-default);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
29
|
-
// deprecated
|
30
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
31
|
-
// deprecated
|
32
|
-
tertiary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
33
|
-
// deprecated
|
34
|
-
paragraph: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
35
|
-
// deprecated
|
36
|
-
positive: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-positive);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
37
|
-
// deprecated
|
38
|
-
warning: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-warning);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
39
|
-
// deprecated
|
40
|
-
negative: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-negative);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-negative);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor)
|
41
|
-
},
|
42
|
-
disabled: {
|
43
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Radiobox.radioboxTokens.disabledOpacity)
|
44
|
-
},
|
45
|
-
focused: {
|
46
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);"], _Radiobox.radioboxTokens.focusColor)
|
47
|
-
}
|
48
|
-
}
|
49
|
-
};
|
package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Checkbox = /*#__PURE__*/require("../../../../components/Checkbox");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
view: 'accent'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
/**
|
15
|
-
* Размер контрола.
|
16
|
-
*/
|
17
|
-
size: {
|
18
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.0625rem;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _Checkbox.checkboxTokens.margin, _Checkbox.checkboxTokens.triggerPadding, _Checkbox.checkboxTokens.triggerSize, _Checkbox.checkboxTokens.triggerBorderRadius, _Checkbox.checkboxTokens.triggerBorderWidth, _Checkbox.checkboxTokens.contentTopOffset, _Checkbox.checkboxTokens.contentLeftOffset, _Checkbox.checkboxTokens.labelFontFamily, _Checkbox.checkboxTokens.labelFontSize, _Checkbox.checkboxTokens.labelFontStyle, _Checkbox.checkboxTokens.labelFontWeight, _Checkbox.checkboxTokens.labelLetterSpacing, _Checkbox.checkboxTokens.labelLineHeight, _Checkbox.checkboxTokens.descriptionMarginTop, _Checkbox.checkboxTokens.descriptionFontFamily, _Checkbox.checkboxTokens.descriptionFontSize, _Checkbox.checkboxTokens.descriptionFontStyle, _Checkbox.checkboxTokens.descriptionFontWeight, _Checkbox.checkboxTokens.descriptionLetterSpacing, _Checkbox.checkboxTokens.descriptionLineHeight),
|
19
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.125rem;", ":1.25rem;", ":0.375rem;", ":0.0625rem;", ":0.125rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.125rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], _Checkbox.checkboxTokens.margin, _Checkbox.checkboxTokens.triggerPadding, _Checkbox.checkboxTokens.triggerSize, _Checkbox.checkboxTokens.triggerBorderRadius, _Checkbox.checkboxTokens.triggerBorderWidth, _Checkbox.checkboxTokens.contentTopOffset, _Checkbox.checkboxTokens.contentLeftOffset, _Checkbox.checkboxTokens.labelFontFamily, _Checkbox.checkboxTokens.labelFontSize, _Checkbox.checkboxTokens.labelFontStyle, _Checkbox.checkboxTokens.labelFontWeight, _Checkbox.checkboxTokens.labelLetterSpacing, _Checkbox.checkboxTokens.labelLineHeight, _Checkbox.checkboxTokens.descriptionMarginTop, _Checkbox.checkboxTokens.descriptionFontFamily, _Checkbox.checkboxTokens.descriptionFontSize, _Checkbox.checkboxTokens.descriptionFontStyle, _Checkbox.checkboxTokens.descriptionFontWeight, _Checkbox.checkboxTokens.descriptionLetterSpacing, _Checkbox.checkboxTokens.descriptionLineHeight)
|
20
|
-
},
|
21
|
-
/**
|
22
|
-
* Вид контрола.
|
23
|
-
*/
|
24
|
-
view: {
|
25
|
-
accent: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-accent);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
26
|
-
// deprecated
|
27
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
28
|
-
// deprecated
|
29
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
30
|
-
// deprecated
|
31
|
-
tertiary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
32
|
-
// deprecated
|
33
|
-
paragraph: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
34
|
-
// deprecated
|
35
|
-
positive: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
36
|
-
// deprecated
|
37
|
-
warning: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor),
|
38
|
-
negative: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-negative);", ":var(--text-negative);"], _Checkbox.checkboxTokens.fillColor, _Checkbox.checkboxTokens.iconColor, _Checkbox.checkboxTokens.labelColor, _Checkbox.checkboxTokens.descriptionColor, _Checkbox.checkboxTokens.triggerBackgroundColor, _Checkbox.checkboxTokens.triggerBorderColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor)
|
39
|
-
},
|
40
|
-
disabled: {
|
41
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Checkbox.checkboxTokens.disabledOpacity)
|
42
|
-
},
|
43
|
-
focused: {
|
44
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);"], _Checkbox.checkboxTokens.focusColor)
|
45
|
-
}
|
46
|
-
}
|
47
|
-
};
|
package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _Radiobox = /*#__PURE__*/require("../../../../components/Radiobox");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
view: 'accent',
|
12
|
-
focused: 'true'
|
13
|
-
},
|
14
|
-
variations: {
|
15
|
-
/**
|
16
|
-
* Размер контрола.
|
17
|
-
*/
|
18
|
-
size: {
|
19
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.0625rem 0;", ":1rem;", ":1.125rem;", ":0.0625rem;", ":0.5rem;", ":0;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":0.125rem;", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], _Radiobox.radioboxTokens.margin, _Radiobox.radioboxTokens.triggerPadding, _Radiobox.radioboxTokens.triggerSize, _Radiobox.radioboxTokens.triggerBorderRadius, _Radiobox.radioboxTokens.triggerBorderWidth, _Radiobox.radioboxTokens.ellipseSize, _Radiobox.radioboxTokens.contentTopOffset, _Radiobox.radioboxTokens.contentLeftOffset, _Radiobox.radioboxTokens.labelFontFamily, _Radiobox.radioboxTokens.labelFontSize, _Radiobox.radioboxTokens.labelFontStyle, _Radiobox.radioboxTokens.labelFontWeight, _Radiobox.radioboxTokens.labelLetterSpacing, _Radiobox.radioboxTokens.labelLineHeight, _Radiobox.radioboxTokens.descriptionFontFamily, _Radiobox.radioboxTokens.descriptionMarginTop, _Radiobox.radioboxTokens.descriptionFontSize, _Radiobox.radioboxTokens.descriptionFontStyle, _Radiobox.radioboxTokens.descriptionFontWeight, _Radiobox.radioboxTokens.descriptionLetterSpacing, _Radiobox.radioboxTokens.descriptionLineHeight),
|
20
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;", ":0.0625rem;", ":1.375rem;", ":1.125rem;", ":0.0625rem;", ":0.625rem;", ":0.125rem;", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":0.125rem;", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], _Radiobox.radioboxTokens.margin, _Radiobox.radioboxTokens.triggerPadding, _Radiobox.radioboxTokens.triggerSize, _Radiobox.radioboxTokens.triggerBorderRadius, _Radiobox.radioboxTokens.triggerBorderWidth, _Radiobox.radioboxTokens.ellipseSize, _Radiobox.radioboxTokens.contentTopOffset, _Radiobox.radioboxTokens.contentLeftOffset, _Radiobox.radioboxTokens.labelFontFamily, _Radiobox.radioboxTokens.labelFontSize, _Radiobox.radioboxTokens.labelFontStyle, _Radiobox.radioboxTokens.labelFontWeight, _Radiobox.radioboxTokens.labelLetterSpacing, _Radiobox.radioboxTokens.labelLineHeight, _Radiobox.radioboxTokens.descriptionFontFamily, _Radiobox.radioboxTokens.descriptionMarginTop, _Radiobox.radioboxTokens.descriptionFontSize, _Radiobox.radioboxTokens.descriptionFontStyle, _Radiobox.radioboxTokens.descriptionFontWeight, _Radiobox.radioboxTokens.descriptionLetterSpacing, _Radiobox.radioboxTokens.descriptionLineHeight)
|
21
|
-
},
|
22
|
-
/**
|
23
|
-
* Вид контрола.
|
24
|
-
*/
|
25
|
-
view: {
|
26
|
-
accent: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-accent);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
27
|
-
// deprecated
|
28
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-default);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-default);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
29
|
-
// deprecated
|
30
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
31
|
-
// deprecated
|
32
|
-
tertiary: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
33
|
-
// deprecated
|
34
|
-
paragraph: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
35
|
-
// deprecated
|
36
|
-
positive: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-positive);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
37
|
-
// deprecated
|
38
|
-
warning: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-warning);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor),
|
39
|
-
// deprecated
|
40
|
-
negative: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--text-negative);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-negative);"], _Radiobox.radioboxTokens.fillColor, _Radiobox.radioboxTokens.ellipseColor, _Radiobox.radioboxTokens.descriptionColor, _Radiobox.radioboxTokens.triggerBackgroundColor, _Radiobox.radioboxTokens.triggerBorderColor, _Radiobox.radioboxTokens.triggerBorderCheckedColor)
|
41
|
-
},
|
42
|
-
disabled: {
|
43
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Radiobox.radioboxTokens.disabledOpacity)
|
44
|
-
},
|
45
|
-
focused: {
|
46
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);"], _Radiobox.radioboxTokens.focusColor)
|
47
|
-
}
|
48
|
-
}
|
49
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'body1'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
body1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body1-font-family);", ":var(--plasma-typo-body1-font-size);", ":var(--plasma-typo-body1-font-style);", ":var(--plasma-typo-body1-font-weight);", ":var(--plasma-typo-body1-letter-spacing);", ":var(--plasma-typo-body1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
16
|
-
body2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body2-font-family);", ":var(--plasma-typo-body2-font-size);", ":var(--plasma-typo-body2-font-style);", ":var(--plasma-typo-body2-font-weight);", ":var(--plasma-typo-body2-letter-spacing);", ":var(--plasma-typo-body2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
17
|
-
body3: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body3-font-family);", ":var(--plasma-typo-body3-font-size);", ":var(--plasma-typo-body3-font-style);", ":var(--plasma-typo-body3-font-weight);", ":var(--plasma-typo-body3-letter-spacing);", ":var(--plasma-typo-body3-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
18
|
-
}
|
19
|
-
}
|
20
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.OldBody = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Body = /*#__PURE__*/require("./Body.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.oldBodyConfig, _Body.config);
|
11
|
-
var OldBody = exports.OldBody = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
|
4
|
-
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
-
import { mergeConfig } from '../../../../../engines';
|
6
|
-
import { oldBodyConfig } from '../../../../../components/Typography';
|
7
|
-
|
8
|
-
import { OldBody } from './Body';
|
9
|
-
import { config } from './Body.config';
|
10
|
-
|
11
|
-
const meta: Meta<typeof OldBody> = {
|
12
|
-
title: 'Data Display/Typography/Old/Body',
|
13
|
-
decorators: [WithTheme],
|
14
|
-
component: OldBody,
|
15
|
-
argTypes: {
|
16
|
-
...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
|
17
|
-
color: {
|
18
|
-
control: {
|
19
|
-
type: 'color',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
},
|
23
|
-
args: {
|
24
|
-
noWrap: false,
|
25
|
-
breakWord: true,
|
26
|
-
},
|
27
|
-
};
|
28
|
-
|
29
|
-
export default meta;
|
30
|
-
|
31
|
-
export const Default: StoryObj<typeof OldBody> = {
|
32
|
-
render: (props) => {
|
33
|
-
return (
|
34
|
-
<OldBody {...props}>
|
35
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
-
distinctio modi quo, provident quod.
|
37
|
-
</OldBody>
|
38
|
-
);
|
39
|
-
},
|
40
|
-
};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'button1'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
button1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-button1-font-family);", ":var(--plasma-typo-button1-font-size);", ":var(--plasma-typo-button1-font-style);", ":var(--plasma-typo-button1-font-weight);", ":var(--plasma-typo-button1-letter-spacing);", ":var(--plasma-typo-button1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
16
|
-
button2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-button2-font-family);", ":var(--plasma-typo-button2-font-size);", ":var(--plasma-typo-button2-font-style);", ":var(--plasma-typo-button2-font-weight);", ":var(--plasma-typo-button2-letter-spacing);", ":var(--plasma-typo-button2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
17
|
-
}
|
18
|
-
}
|
19
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Button = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Button = /*#__PURE__*/require("./Button.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.buttonTypographyConfig, _Button.config);
|
11
|
-
var Button = exports.Button = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
|
4
|
-
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
-
import { mergeConfig } from '../../../../../engines';
|
6
|
-
import { buttonTypographyConfig } from '../../../../../components/Typography';
|
7
|
-
|
8
|
-
import { Button } from './Button';
|
9
|
-
import { config } from './Button.config';
|
10
|
-
|
11
|
-
const meta: Meta<typeof Button> = {
|
12
|
-
title: 'Data Display/Typography/Old/Button',
|
13
|
-
decorators: [WithTheme],
|
14
|
-
component: Button,
|
15
|
-
argTypes: {
|
16
|
-
...argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
|
17
|
-
color: {
|
18
|
-
control: {
|
19
|
-
type: 'color',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
},
|
23
|
-
args: {
|
24
|
-
noWrap: false,
|
25
|
-
breakWord: true,
|
26
|
-
},
|
27
|
-
};
|
28
|
-
|
29
|
-
export default meta;
|
30
|
-
|
31
|
-
export const Default: StoryObj<typeof Button> = {
|
32
|
-
render: (props) => {
|
33
|
-
return (
|
34
|
-
<Button {...props}>
|
35
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
-
distinctio modi quo, provident quod.
|
37
|
-
</Button>
|
38
|
-
);
|
39
|
-
},
|
40
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'm'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-caption-font-family);", ":var(--plasma-typo-caption-font-size);", ":var(--plasma-typo-caption-font-style);", ":var(--plasma-typo-caption-font-weight);", ":var(--plasma-typo-caption-letter-spacing);", ":var(--plasma-typo-caption-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
16
|
-
}
|
17
|
-
}
|
18
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Caption = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Caption = /*#__PURE__*/require("./Caption.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.captionConfig, _Caption.config);
|
11
|
-
var Caption = exports.Caption = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
|
4
|
-
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
-
import { mergeConfig } from '../../../../../engines';
|
6
|
-
import { captionConfig } from '../../../../../components/Typography';
|
7
|
-
|
8
|
-
import { Caption } from './Caption';
|
9
|
-
import { config } from './Caption.config';
|
10
|
-
|
11
|
-
const meta: Meta<typeof Caption> = {
|
12
|
-
title: 'Data Display/Typography/Old/Caption',
|
13
|
-
decorators: [WithTheme],
|
14
|
-
component: Caption,
|
15
|
-
argTypes: {
|
16
|
-
...argTypesFromConfig(mergeConfig(captionConfig, config)),
|
17
|
-
color: {
|
18
|
-
control: {
|
19
|
-
type: 'color',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
},
|
23
|
-
args: {
|
24
|
-
noWrap: false,
|
25
|
-
breakWord: true,
|
26
|
-
},
|
27
|
-
};
|
28
|
-
|
29
|
-
export default meta;
|
30
|
-
|
31
|
-
export const Default: StoryObj<typeof Caption> = {
|
32
|
-
render: (props) => {
|
33
|
-
return (
|
34
|
-
<Caption {...props}>
|
35
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
-
distinctio modi quo, provident quod.
|
37
|
-
</Caption>
|
38
|
-
);
|
39
|
-
},
|
40
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'display1'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
display1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-display1-font-family);", ":var(--plasma-typo-display1-font-size);", ":var(--plasma-typo-display1-font-style);", ":var(--plasma-typo-display1-font-weight);", ":var(--plasma-typo-display1-letter-spacing);", ":var(--plasma-typo-display1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
16
|
-
display2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-display2-font-family);", ":var(--plasma-typo-display2-font-size);", ":var(--plasma-typo-display2-font-style);", ":var(--plasma-typo-display2-font-weight);", ":var(--plasma-typo-display2-letter-spacing);", ":var(--plasma-typo-display2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
17
|
-
display3: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-display3-font-family);", ":var(--plasma-typo-display3-font-size);", ":var(--plasma-typo-display3-font-style);", ":var(--plasma-typo-display3-font-weight);", ":var(--plasma-typo-display3-letter-spacing);", ":var(--plasma-typo-display3-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
18
|
-
}
|
19
|
-
}
|
20
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Display = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Display = /*#__PURE__*/require("./Display.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.displayConfig, _Display.config);
|
11
|
-
var Display = exports.Display = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
|
4
|
-
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
-
import { mergeConfig } from '../../../../../engines';
|
6
|
-
import { displayConfig } from '../../../../../components/Typography';
|
7
|
-
|
8
|
-
import { Display } from './Display';
|
9
|
-
import { config } from './Display.config';
|
10
|
-
|
11
|
-
const meta: Meta<typeof Display> = {
|
12
|
-
title: 'Data Display/Typography/Old/Display',
|
13
|
-
decorators: [WithTheme],
|
14
|
-
component: Display,
|
15
|
-
argTypes: {
|
16
|
-
...argTypesFromConfig(mergeConfig(displayConfig, config)),
|
17
|
-
color: {
|
18
|
-
control: {
|
19
|
-
type: 'color',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
},
|
23
|
-
args: {
|
24
|
-
noWrap: false,
|
25
|
-
breakWord: true,
|
26
|
-
},
|
27
|
-
};
|
28
|
-
|
29
|
-
export default meta;
|
30
|
-
|
31
|
-
export const Default: StoryObj<typeof Display> = {
|
32
|
-
render: (props) => {
|
33
|
-
return (
|
34
|
-
<Display {...props}>
|
35
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
-
distinctio modi quo, provident quod.
|
37
|
-
</Display>
|
38
|
-
);
|
39
|
-
},
|
40
|
-
};
|
package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'footnote1'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
footnote1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-footnote1-font-family);", ":var(--plasma-typo-footnote1-font-size);", ":var(--plasma-typo-footnote1-font-style);", ":var(--plasma-typo-footnote1-font-weight);", ":var(--plasma-typo-footnote1-letter-spacing);", ":var(--plasma-typo-footnote1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
16
|
-
footnote2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-footnote2-font-family);", ":var(--plasma-typo-footnote2-font-size);", ":var(--plasma-typo-footnote2-font-style);", ":var(--plasma-typo-footnote2-font-weight);", ":var(--plasma-typo-footnote2-letter-spacing);", ":var(--plasma-typo-footnote2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
17
|
-
}
|
18
|
-
}
|
19
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Footnote = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Footnote = /*#__PURE__*/require("./Footnote.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.footnoteConfig, _Footnote.config);
|
11
|
-
var Footnote = exports.Footnote = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|
package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import type { StoryObj, Meta } from '@storybook/react';
|
3
|
-
|
4
|
-
import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
|
5
|
-
import { mergeConfig } from '../../../../../engines';
|
6
|
-
import { footnoteConfig } from '../../../../../components/Typography';
|
7
|
-
|
8
|
-
import { Footnote } from './Footnote';
|
9
|
-
import { config } from './Footnote.config';
|
10
|
-
|
11
|
-
const meta: Meta<typeof Footnote> = {
|
12
|
-
title: 'Data Display/Typography/Old/Footnote',
|
13
|
-
decorators: [WithTheme],
|
14
|
-
component: Footnote,
|
15
|
-
argTypes: {
|
16
|
-
...argTypesFromConfig(mergeConfig(footnoteConfig, config)),
|
17
|
-
color: {
|
18
|
-
control: {
|
19
|
-
type: 'color',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
},
|
23
|
-
args: {
|
24
|
-
noWrap: false,
|
25
|
-
breakWord: true,
|
26
|
-
},
|
27
|
-
};
|
28
|
-
|
29
|
-
export default meta;
|
30
|
-
|
31
|
-
export const Default: StoryObj<typeof Footnote> = {
|
32
|
-
render: (props) => {
|
33
|
-
return (
|
34
|
-
<Footnote {...props}>
|
35
|
-
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
|
36
|
-
distinctio modi quo, provident quod.
|
37
|
-
</Footnote>
|
38
|
-
);
|
39
|
-
},
|
40
|
-
};
|
package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.config = void 0;
|
7
|
-
var _styledComponents = /*#__PURE__*/require("styled-components");
|
8
|
-
var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
|
9
|
-
var config = exports.config = {
|
10
|
-
defaults: {
|
11
|
-
size: 'headline1'
|
12
|
-
},
|
13
|
-
variations: {
|
14
|
-
size: {
|
15
|
-
headline1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-headline1-font-family);", ":var(--plasma-typo-headline1-font-size);", ":var(--plasma-typo-headline1-font-style);", ":var(--plasma-typo-headline1-font-weight);", ":var(--plasma-typo-headline1-letter-spacing);", ":var(--plasma-typo-headline1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
16
|
-
headline2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-headline2-font-family);", ":var(--plasma-typo-headline2-font-size);", ":var(--plasma-typo-headline2-font-style);", ":var(--plasma-typo-headline2-font-weight);", ":var(--plasma-typo-headline2-letter-spacing);", ":var(--plasma-typo-headline2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
17
|
-
headline3: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-headline3-font-family);", ":var(--plasma-typo-headline3-font-size);", ":var(--plasma-typo-headline3-font-style);", ":var(--plasma-typo-headline3-font-weight);", ":var(--plasma-typo-headline3-letter-spacing);", ":var(--plasma-typo-headline3-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
|
18
|
-
headline4: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-headline4-font-family);", ":var(--plasma-typo-headline4-font-size);", ":var(--plasma-typo-headline4-font-style);", ":var(--plasma-typo-headline4-font-weight);", ":var(--plasma-typo-headline4-letter-spacing);", ":var(--plasma-typo-headline4-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Headline = void 0;
|
7
|
-
var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
|
8
|
-
var _engines = /*#__PURE__*/require("../../../../../engines");
|
9
|
-
var _Headline = /*#__PURE__*/require("./Headline.config");
|
10
|
-
var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.headlineConfig, _Headline.config);
|
11
|
-
var Headline = exports.Headline = /*#__PURE__*/(0, _engines.component)(mergedConfig);
|