@salutejs/plasma-new-hope 0.195.0-canary.1534.11913376384.0 → 0.195.0-canary.1546.11913646617.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -333
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/components/Badge/Badge.css +4 -4
- package/cjs/components/Badge/Badge.js +17 -7
- package/cjs/components/Badge/Badge.js.map +1 -1
- package/cjs/components/Badge/Badge.tokens.js +10 -5
- package/cjs/components/Badge/Badge.tokens.js.map +1 -1
- package/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
- package/cjs/components/Badge/variations/_clear/base_wiboj8.css +1 -0
- package/cjs/components/Badge/variations/_size/base.js +1 -1
- package/cjs/components/Badge/variations/_size/base.js.map +1 -1
- package/{es/components/Badge/variations/_size/base_to0y5x.css → cjs/components/Badge/variations/_size/base_bu5opk.css} +1 -1
- package/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
- package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
- package/cjs/components/Badge/variations/_view/base.js +1 -1
- package/cjs/components/Badge/variations/_view/base.js.map +1 -1
- package/cjs/components/Badge/variations/_view/base_j3xzf3.css +1 -0
- package/cjs/index.css +4 -18
- package/cjs/index.js +0 -6
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Badge/Badge.js +17 -7
- package/emotion/cjs/components/Badge/Badge.template-doc.mdx +40 -16
- package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
- package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
- package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
- package/emotion/cjs/components/_Icon/index.js +1 -8
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
- package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/emotion/cjs/index.js +0 -11
- package/emotion/es/components/Badge/Badge.js +18 -8
- package/emotion/es/components/Badge/Badge.template-doc.mdx +40 -16
- package/emotion/es/components/Badge/Badge.tokens.js +9 -5
- package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
- package/emotion/es/components/Badge/variations/_size/base.js +3 -2
- package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
- package/emotion/es/components/Badge/variations/_view/base.js +2 -2
- package/emotion/es/components/_Icon/index.js +1 -2
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
- package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/emotion/es/index.js +1 -2
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -332
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/components/Badge/Badge.css +4 -4
- package/es/components/Badge/Badge.js +20 -10
- package/es/components/Badge/Badge.js.map +1 -1
- package/es/components/Badge/Badge.tokens.js +10 -6
- package/es/components/Badge/Badge.tokens.js.map +1 -1
- package/es/components/Badge/variations/_clear/base.js +1 -1
- package/es/components/Badge/variations/_clear/base.js.map +1 -1
- package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
- package/es/components/Badge/variations/_size/base.js +1 -1
- package/es/components/Badge/variations/_size/base.js.map +1 -1
- package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_bu5opk.css} +1 -1
- package/es/components/Badge/variations/_transparent/base.js +1 -1
- package/es/components/Badge/variations/_transparent/base.js.map +1 -1
- package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
- package/es/components/Badge/variations/_view/base.js +1 -1
- package/es/components/Badge/variations/_view/base.js.map +1 -1
- package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
- package/es/index.css +4 -18
- package/es/index.js +0 -2
- package/es/index.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/components/Badge/Badge.js +17 -7
- package/styled-components/cjs/components/Badge/Badge.template-doc.mdx +40 -16
- package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
- package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
- package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
- package/styled-components/cjs/components/_Icon/index.js +1 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
- package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/components/Badge/Badge.js +18 -8
- package/styled-components/es/components/Badge/Badge.template-doc.mdx +40 -16
- package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
- package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
- package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
- package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
- package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
- package/styled-components/es/components/_Icon/index.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
- package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/styled-components/es/index.js +1 -2
- package/types/components/Badge/Badge.d.ts.map +1 -1
- package/types/components/Badge/Badge.tokens.d.ts +8 -4
- package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
- package/types/components/Badge/Badge.types.d.ts +18 -5
- package/types/components/Badge/Badge.types.d.ts.map +1 -1
- package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
- package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +61 -4
- package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Badge/Badge.d.ts +61 -4
- package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
- package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
- package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
- package/cjs/components/Dropzone/Dropzone.css +0 -15
- package/cjs/components/Dropzone/Dropzone.js +0 -252
- package/cjs/components/Dropzone/Dropzone.js.map +0 -1
- package/cjs/components/Dropzone/Dropzone.styles.js +0 -47
- package/cjs/components/Dropzone/Dropzone.styles.js.map +0 -1
- package/cjs/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
- package/cjs/components/Dropzone/Dropzone.tokens.js +0 -47
- package/cjs/components/Dropzone/Dropzone.tokens.js.map +0 -1
- package/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
- package/cjs/components/Dropzone/variations/_disabled/base.js.map +0 -1
- package/cjs/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
- package/cjs/components/Dropzone/variations/_size/base.js +0 -9
- package/cjs/components/Dropzone/variations/_size/base.js.map +0 -1
- package/cjs/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
- package/cjs/components/Dropzone/variations/_view/base.js +0 -9
- package/cjs/components/Dropzone/variations/_view/base.js.map +0 -1
- package/cjs/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
- package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -24
- package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -23
- package/cjs/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
- package/emotion/cjs/components/Dropzone/Dropzone.js +0 -271
- package/emotion/cjs/components/Dropzone/Dropzone.styles.js +0 -67
- package/emotion/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
- package/emotion/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
- package/emotion/cjs/components/Dropzone/Dropzone.types.js +0 -5
- package/emotion/cjs/components/Dropzone/index.js +0 -31
- package/emotion/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
- package/emotion/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
- package/emotion/cjs/components/Dropzone/variations/_size/base.js +0 -10
- package/emotion/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
- package/emotion/cjs/components/Dropzone/variations/_view/base.js +0 -10
- package/emotion/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
- package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
- package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
- package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
- package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
- package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/emotion/es/components/Dropzone/Dropzone.js +0 -263
- package/emotion/es/components/Dropzone/Dropzone.styles.js +0 -60
- package/emotion/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
- package/emotion/es/components/Dropzone/Dropzone.tokens.js +0 -38
- package/emotion/es/components/Dropzone/Dropzone.types.js +0 -1
- package/emotion/es/components/Dropzone/index.js +0 -2
- package/emotion/es/components/Dropzone/variations/_disabled/base.js +0 -3
- package/emotion/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
- package/emotion/es/components/Dropzone/variations/_size/base.js +0 -4
- package/emotion/es/components/Dropzone/variations/_size/tokens.json +0 -19
- package/emotion/es/components/Dropzone/variations/_view/base.js +0 -4
- package/emotion/es/components/Dropzone/variations/_view/tokens.json +0 -9
- package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
- package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
- package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
- package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
- package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
- package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
- package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
- package/es/components/Dropzone/Dropzone.css +0 -15
- package/es/components/Dropzone/Dropzone.js +0 -247
- package/es/components/Dropzone/Dropzone.js.map +0 -1
- package/es/components/Dropzone/Dropzone.styles.js +0 -37
- package/es/components/Dropzone/Dropzone.styles.js.map +0 -1
- package/es/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
- package/es/components/Dropzone/Dropzone.tokens.js +0 -41
- package/es/components/Dropzone/Dropzone.tokens.js.map +0 -1
- package/es/components/Dropzone/variations/_disabled/base.js +0 -5
- package/es/components/Dropzone/variations/_disabled/base.js.map +0 -1
- package/es/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
- package/es/components/Dropzone/variations/_size/base.js +0 -5
- package/es/components/Dropzone/variations/_size/base.js.map +0 -1
- package/es/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
- package/es/components/Dropzone/variations/_view/base.js +0 -5
- package/es/components/Dropzone/variations/_view/base.js.map +0 -1
- package/es/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
- package/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -20
- package/es/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
- package/es/components/_Icon/Icons/IconArrowBarDown.js +0 -19
- package/es/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
- package/styled-components/cjs/components/Dropzone/Dropzone.js +0 -271
- package/styled-components/cjs/components/Dropzone/Dropzone.styles.js +0 -29
- package/styled-components/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
- package/styled-components/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
- package/styled-components/cjs/components/Dropzone/Dropzone.types.js +0 -5
- package/styled-components/cjs/components/Dropzone/index.js +0 -31
- package/styled-components/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
- package/styled-components/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
- package/styled-components/cjs/components/Dropzone/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
- package/styled-components/cjs/components/Dropzone/variations/_view/base.js +0 -10
- package/styled-components/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
- package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
- package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
- package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
- package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/styled-components/es/components/Dropzone/Dropzone.js +0 -263
- package/styled-components/es/components/Dropzone/Dropzone.styles.js +0 -21
- package/styled-components/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
- package/styled-components/es/components/Dropzone/Dropzone.tokens.js +0 -38
- package/styled-components/es/components/Dropzone/Dropzone.types.js +0 -1
- package/styled-components/es/components/Dropzone/index.js +0 -2
- package/styled-components/es/components/Dropzone/variations/_disabled/base.js +0 -3
- package/styled-components/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
- package/styled-components/es/components/Dropzone/variations/_size/base.js +0 -4
- package/styled-components/es/components/Dropzone/variations/_size/tokens.json +0 -19
- package/styled-components/es/components/Dropzone/variations/_view/base.js +0 -4
- package/styled-components/es/components/Dropzone/variations/_view/tokens.json +0 -9
- package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
- package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
- package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
- package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
- package/types/components/Dropzone/Dropzone.d.ts +0 -59
- package/types/components/Dropzone/Dropzone.d.ts.map +0 -1
- package/types/components/Dropzone/Dropzone.styles.d.ts +0 -9
- package/types/components/Dropzone/Dropzone.styles.d.ts.map +0 -1
- package/types/components/Dropzone/Dropzone.tokens.d.ts +0 -39
- package/types/components/Dropzone/Dropzone.tokens.d.ts.map +0 -1
- package/types/components/Dropzone/Dropzone.types.d.ts +0 -77
- package/types/components/Dropzone/Dropzone.types.d.ts.map +0 -1
- package/types/components/Dropzone/index.d.ts +0 -3
- package/types/components/Dropzone/index.d.ts.map +0 -1
- package/types/components/Dropzone/variations/_disabled/base.d.ts +0 -2
- package/types/components/Dropzone/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/Dropzone/variations/_size/base.d.ts +0 -2
- package/types/components/Dropzone/variations/_size/base.d.ts.map +0 -1
- package/types/components/Dropzone/variations/_view/base.d.ts +0 -2
- package/types/components/Dropzone/variations/_view/base.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +0 -4
- package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts +0 -18
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +0 -29
- package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts +0 -18
- package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts +0 -29
- package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts.map +0 -1
@@ -25,5 +25,4 @@ export { IconBlankPdfOutline } from './Icons/IconBlankPdfOutline';
|
|
25
25
|
export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline';
|
26
26
|
export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
|
27
27
|
export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
|
28
|
-
export { IconArrowBarDown } from './Icons/IconArrowBarDown';
|
29
28
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/_Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,C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,6BAA6B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsKlB,CAAC"}
|
@@ -29,11 +29,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
29
29
|
};
|
30
30
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
31
31
|
text?: string | undefined;
|
32
|
-
|
33
|
-
|
32
|
+
customColor?: string | undefined;
|
33
|
+
customBackgroundColor?: string | undefined;
|
34
34
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
35
35
|
size?: string | undefined;
|
36
36
|
view?: string | undefined;
|
37
|
+
} & {
|
38
|
+
contentLeft?: import("react").ReactNode;
|
39
|
+
contentRight?: undefined;
|
37
40
|
} & {
|
38
41
|
children?: import("react").ReactNode;
|
39
42
|
} & {
|
@@ -42,11 +45,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
42
45
|
transparent?: false | undefined;
|
43
46
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
44
47
|
text?: string | undefined;
|
45
|
-
|
46
|
-
|
48
|
+
customColor?: string | undefined;
|
49
|
+
customBackgroundColor?: string | undefined;
|
47
50
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
48
51
|
size?: string | undefined;
|
49
52
|
view?: string | undefined;
|
53
|
+
} & {
|
54
|
+
contentLeft?: import("react").ReactNode;
|
55
|
+
contentRight?: undefined;
|
50
56
|
} & {
|
51
57
|
children?: import("react").ReactNode;
|
52
58
|
} & {
|
@@ -55,11 +61,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
55
61
|
clear?: false | undefined;
|
56
62
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
57
63
|
text?: string | undefined;
|
64
|
+
customColor?: string | undefined;
|
65
|
+
customBackgroundColor?: string | undefined;
|
66
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
67
|
+
size?: string | undefined;
|
68
|
+
view?: string | undefined;
|
69
|
+
} & {
|
58
70
|
contentLeft?: import("react").ReactNode;
|
71
|
+
contentRight?: undefined;
|
72
|
+
} & {
|
73
|
+
children?: import("react").ReactNode;
|
74
|
+
} & {
|
75
|
+
pilled?: boolean | undefined;
|
76
|
+
transparent?: true | undefined;
|
77
|
+
clear?: false | undefined;
|
78
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
79
|
+
text?: string | undefined;
|
80
|
+
customColor?: string | undefined;
|
81
|
+
customBackgroundColor?: string | undefined;
|
82
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
83
|
+
size?: string | undefined;
|
84
|
+
view?: string | undefined;
|
85
|
+
} & {
|
86
|
+
contentLeft?: undefined;
|
59
87
|
contentRight?: import("react").ReactNode;
|
88
|
+
} & {
|
89
|
+
children?: import("react").ReactNode;
|
90
|
+
} & {
|
91
|
+
clear?: true | undefined;
|
92
|
+
pilled?: false | undefined;
|
93
|
+
transparent?: false | undefined;
|
94
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
95
|
+
text?: string | undefined;
|
96
|
+
customColor?: string | undefined;
|
97
|
+
customBackgroundColor?: string | undefined;
|
60
98
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
61
99
|
size?: string | undefined;
|
62
100
|
view?: string | undefined;
|
101
|
+
} & {
|
102
|
+
contentLeft?: undefined;
|
103
|
+
contentRight?: import("react").ReactNode;
|
104
|
+
} & {
|
105
|
+
children?: import("react").ReactNode;
|
106
|
+
} & {
|
107
|
+
pilled?: true | undefined;
|
108
|
+
transparent?: boolean | undefined;
|
109
|
+
clear?: false | undefined;
|
110
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
111
|
+
text?: string | undefined;
|
112
|
+
customColor?: string | undefined;
|
113
|
+
customBackgroundColor?: string | undefined;
|
114
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
+
size?: string | undefined;
|
116
|
+
view?: string | undefined;
|
117
|
+
} & {
|
118
|
+
contentLeft?: undefined;
|
119
|
+
contentRight?: import("react").ReactNode;
|
63
120
|
} & {
|
64
121
|
children?: import("react").ReactNode;
|
65
122
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKlB,CAAC"}
|
@@ -26,11 +26,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
26
26
|
};
|
27
27
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
28
28
|
text?: string | undefined;
|
29
|
-
|
30
|
-
|
29
|
+
customColor?: string | undefined;
|
30
|
+
customBackgroundColor?: string | undefined;
|
31
31
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
32
32
|
size?: string | undefined;
|
33
33
|
view?: string | undefined;
|
34
|
+
} & {
|
35
|
+
contentLeft?: import("react").ReactNode;
|
36
|
+
contentRight?: undefined;
|
34
37
|
} & {
|
35
38
|
children?: import("react").ReactNode;
|
36
39
|
} & {
|
@@ -39,11 +42,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
39
42
|
transparent?: false | undefined;
|
40
43
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
41
44
|
text?: string | undefined;
|
42
|
-
|
43
|
-
|
45
|
+
customColor?: string | undefined;
|
46
|
+
customBackgroundColor?: string | undefined;
|
44
47
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
45
48
|
size?: string | undefined;
|
46
49
|
view?: string | undefined;
|
50
|
+
} & {
|
51
|
+
contentLeft?: import("react").ReactNode;
|
52
|
+
contentRight?: undefined;
|
47
53
|
} & {
|
48
54
|
children?: import("react").ReactNode;
|
49
55
|
} & {
|
@@ -52,11 +58,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
52
58
|
clear?: false | undefined;
|
53
59
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
54
60
|
text?: string | undefined;
|
61
|
+
customColor?: string | undefined;
|
62
|
+
customBackgroundColor?: string | undefined;
|
63
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
64
|
+
size?: string | undefined;
|
65
|
+
view?: string | undefined;
|
66
|
+
} & {
|
55
67
|
contentLeft?: import("react").ReactNode;
|
68
|
+
contentRight?: undefined;
|
69
|
+
} & {
|
70
|
+
children?: import("react").ReactNode;
|
71
|
+
} & {
|
72
|
+
pilled?: boolean | undefined;
|
73
|
+
transparent?: true | undefined;
|
74
|
+
clear?: false | undefined;
|
75
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
76
|
+
text?: string | undefined;
|
77
|
+
customColor?: string | undefined;
|
78
|
+
customBackgroundColor?: string | undefined;
|
79
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
80
|
+
size?: string | undefined;
|
81
|
+
view?: string | undefined;
|
82
|
+
} & {
|
83
|
+
contentLeft?: undefined;
|
56
84
|
contentRight?: import("react").ReactNode;
|
85
|
+
} & {
|
86
|
+
children?: import("react").ReactNode;
|
87
|
+
} & {
|
88
|
+
clear?: true | undefined;
|
89
|
+
pilled?: false | undefined;
|
90
|
+
transparent?: false | undefined;
|
91
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
92
|
+
text?: string | undefined;
|
93
|
+
customColor?: string | undefined;
|
94
|
+
customBackgroundColor?: string | undefined;
|
57
95
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
58
96
|
size?: string | undefined;
|
59
97
|
view?: string | undefined;
|
98
|
+
} & {
|
99
|
+
contentLeft?: undefined;
|
100
|
+
contentRight?: import("react").ReactNode;
|
101
|
+
} & {
|
102
|
+
children?: import("react").ReactNode;
|
103
|
+
} & {
|
104
|
+
pilled?: true | undefined;
|
105
|
+
transparent?: boolean | undefined;
|
106
|
+
clear?: false | undefined;
|
107
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
108
|
+
text?: string | undefined;
|
109
|
+
customColor?: string | undefined;
|
110
|
+
customBackgroundColor?: string | undefined;
|
111
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
112
|
+
size?: string | undefined;
|
113
|
+
view?: string | undefined;
|
114
|
+
} & {
|
115
|
+
contentLeft?: undefined;
|
116
|
+
contentRight?: import("react").ReactNode;
|
60
117
|
} & {
|
61
118
|
children?: import("react").ReactNode;
|
62
119
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,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,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,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,oBA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cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1e1wuvi.badge-clear{color:var(--plasma-badge-color-clear);background-color:transparent;padding:0;}
|
@@ -1 +0,0 @@
|
|
1
|
-
.binquhc.badge-transparent{color:var(--plasma-badge-color-transparent);background-color:var(--plasma-badge-background-transparent);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b5zny0e{color:var(--plasma-badge-color);background-color:var(--plasma-badge-background);}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
.IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
|
2
|
-
|
3
|
-
.base_1pdzq6t_byh8zio__d97f375f{background:var(--plasma-dropzone-background);border:var(--plasma-dropzone-border-color);}.base_1pdzq6t_byh8zio__d97f375f:not(.base_1pdzq6t_dropzoneActive__d97f375f):hover,.base_1pdzq6t_byh8zio__d97f375f:not(.base_1pdzq6t_dropzoneActive__d97f375f):focus-within{background:var(--plasma-dropzone-background-hover);border-color:var(--plasma-dropzone-border-color-hover);outline:none;}.base_1pdzq6t_byh8zio__d97f375f.base_1pdzq6t_dropzoneActive__d97f375f{border-color:var(--plasma-dropzone-border-color-active);}.base_1pdzq6t_byh8zio__d97f375f.base_1pdzq6t_dropzoneActive__d97f375f .base_1pdzq6t_dqiwesh__d97f375f{background:var(--plasma-dropzone-overlay-color-active);}.base_1pdzq6t_byh8zio__d97f375f .base_1pdzq6t_twnyozc__d97f375f{color:var(--plasma-dropzone-title-color);}.base_1pdzq6t_byh8zio__d97f375f .base_1pdzq6t_d1nsxook__d97f375f{color:var(--plasma-dropzone-description-color);}
|
4
|
-
|
5
|
-
.base_1bt22g1_b1q81cck__c0e52b1e{padding:var(--plasma-dropzone-padding);border-radius:var(--plasma-dropzone-border-radius);height:var(--plasma_private-dropzone-height);width:var(--plasma_private-dropzone-width);}.base_1bt22g1_b1q81cck__c0e52b1e.base_1bt22g1_dropzoneStretch__c0e52b1e{width:100%;}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_dqiwesh__c0e52b1e{border-radius:var(--plasma-dropzone-border-radius);}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_c1afz1o5__c0e52b1e{gap:var(--plasma-dropzone-content-gap);}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_twnyozc__c0e52b1e{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;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;gap:var(--plasma-dropzone-title-wrapper-gap);}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_twnyozc__c0e52b1e.base_1bt22g1_dropzoneVerticalContentPlacing__c0e52b1e{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-dropzone-title-wrapper-column-gap);}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_tahwclk__c0e52b1e{font-family:var(--plasma-dropzone-title-font-family);font-size:var(--plasma-dropzone-title-font-size);font-style:var(--plasma-dropzone-title-font-style);font-weight:var(--plasma-dropzone-title-font-weight);-webkit-letter-spacing:var(--plasma-dropzone-title-letter-spacing);-moz-letter-spacing:var(--plasma-dropzone-title-letter-spacing);-ms-letter-spacing:var(--plasma-dropzone-title-letter-spacing);letter-spacing:var(--plasma-dropzone-title-letter-spacing);line-height:var(--plasma-dropzone-title-line-height);}.base_1bt22g1_b1q81cck__c0e52b1e .base_1bt22g1_d1nsxook__c0e52b1e{font-family:var(--plasma-dropzone-description-font-family);font-size:var(--plasma-dropzone-description-font-size);font-style:var(--plasma-dropzone-description-font-style);font-weight:var(--plasma-dropzone-description-font-weight);-webkit-letter-spacing:var(--plasma-dropzone-description-letter-spacing);-moz-letter-spacing:var(--plasma-dropzone-description-letter-spacing);-ms-letter-spacing:var(--plasma-dropzone-description-letter-spacing);letter-spacing:var(--plasma-dropzone-description-letter-spacing);line-height:var(--plasma-dropzone-description-line-height);}
|
6
|
-
|
7
|
-
.base_3qwygi_b1t0rfqa__f5b3e7aa.base_3qwygi_dropzoneDisabled__f5b3e7aa{opacity:var(--plasma-dropzone-disabled-opacity);cursor:not-allowed;}
|
8
|
-
|
9
|
-
.Dropzone_styles_1fo7dbq_bfglrd7__65c68d0a{position:relative;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;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;}
|
10
|
-
.Dropzone_styles_1fo7dbq_dqiwesh__65c68d0a{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;}
|
11
|
-
.Dropzone_styles_1fo7dbq_c1afz1o5__65c68d0a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.Dropzone_styles_1fo7dbq_hzipmyu__65c68d0a{display:none;}
|
@@ -1,252 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
-
var React = require('react');
|
7
|
-
var plasmaCore = require('@salutejs/plasma-core');
|
8
|
-
var index = require('../../utils/index.js');
|
9
|
-
var base = require('./variations/_view/base.js');
|
10
|
-
var base$1 = require('./variations/_size/base.js');
|
11
|
-
var base$2 = require('./variations/_disabled/base.js');
|
12
|
-
var Dropzone_styles = require('./Dropzone.styles.js');
|
13
|
-
var Dropzone_tokens = require('./Dropzone.tokens.js');
|
14
|
-
var IconArrowBarDown = require('../_Icon/Icons/IconArrowBarDown.js');
|
15
|
-
var getSizeValueFromProp = require('../../utils/getSizeValueFromProp.js');
|
16
|
-
|
17
|
-
var _IconArrowBarDown;
|
18
|
-
var _excluded = ["className", "style", "accept", "multiple", "title", "description", "icon", "iconPlacement", "size", "view", "disabled", "stretch", "width", "height", "onDragEnter", "onDragLeave", "onDragOver", "onDrop", "validator", "onClick", "onChange", "onChoseFiles"];
|
19
|
-
var dropzoneRoot = function dropzoneRoot(Root) {
|
20
|
-
return /*#__PURE__*/React.forwardRef(function (_ref, outerRef) {
|
21
|
-
var className = _ref.className,
|
22
|
-
style = _ref.style,
|
23
|
-
accept = _ref.accept,
|
24
|
-
multiple = _ref.multiple,
|
25
|
-
title = _ref.title,
|
26
|
-
description = _ref.description,
|
27
|
-
icon = _ref.icon,
|
28
|
-
iconPlacement = _ref.iconPlacement,
|
29
|
-
size = _ref.size,
|
30
|
-
view = _ref.view,
|
31
|
-
disabled = _ref.disabled,
|
32
|
-
stretch = _ref.stretch,
|
33
|
-
width = _ref.width,
|
34
|
-
height = _ref.height,
|
35
|
-
onDragEnter = _ref.onDragEnter,
|
36
|
-
onDragLeave = _ref.onDragLeave,
|
37
|
-
onDragOver = _ref.onDragOver,
|
38
|
-
onDrop = _ref.onDrop,
|
39
|
-
validator = _ref.validator,
|
40
|
-
onClick = _ref.onClick,
|
41
|
-
onChange = _ref.onChange,
|
42
|
-
onChoseFiles = _ref.onChoseFiles,
|
43
|
-
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
44
|
-
var _useState = React.useState(false),
|
45
|
-
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
46
|
-
isDropzoneActive = _useState2[0],
|
47
|
-
setIsDropzoneActive = _useState2[1];
|
48
|
-
var inputRef = React.useRef(null);
|
49
|
-
var forkInputRef = plasmaCore.useForkRef(outerRef, inputRef);
|
50
|
-
var innerWidth = width ? getSizeValueFromProp.getSizeValueFromProp(width) : 'fit-content';
|
51
|
-
var innerHeight = height ? getSizeValueFromProp.getSizeValueFromProp(height) : 'fit-content';
|
52
|
-
var processFiles = /*#__PURE__*/function () {
|
53
|
-
var _ref2 = _rollupPluginBabelHelpers.asyncToGenerator( /*#__PURE__*/_rollupPluginBabelHelpers.regeneratorRuntime().mark(function _callee(rawFiles, callback, afterAction) {
|
54
|
-
var files, res;
|
55
|
-
return _rollupPluginBabelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
|
56
|
-
while (1) switch (_context.prev = _context.next) {
|
57
|
-
case 0:
|
58
|
-
if (rawFiles !== null && rawFiles !== void 0 && rawFiles.length) {
|
59
|
-
_context.next = 2;
|
60
|
-
break;
|
61
|
-
}
|
62
|
-
return _context.abrupt("return");
|
63
|
-
case 2:
|
64
|
-
files = _rollupPluginBabelHelpers.toConsumableArray(rawFiles);
|
65
|
-
res = {
|
66
|
-
acceptedFiles: files
|
67
|
-
};
|
68
|
-
if (!validator) {
|
69
|
-
_context.next = 8;
|
70
|
-
break;
|
71
|
-
}
|
72
|
-
_context.next = 7;
|
73
|
-
return validator === null || validator === void 0 ? void 0 : validator(files);
|
74
|
-
case 7:
|
75
|
-
res = _context.sent;
|
76
|
-
case 8:
|
77
|
-
if (!callback) {
|
78
|
-
_context.next = 11;
|
79
|
-
break;
|
80
|
-
}
|
81
|
-
_context.next = 11;
|
82
|
-
return callback(res);
|
83
|
-
case 11:
|
84
|
-
if (afterAction) {
|
85
|
-
afterAction();
|
86
|
-
}
|
87
|
-
case 12:
|
88
|
-
case "end":
|
89
|
-
return _context.stop();
|
90
|
-
}
|
91
|
-
}, _callee);
|
92
|
-
}));
|
93
|
-
return function processFiles(_x, _x2, _x3) {
|
94
|
-
return _ref2.apply(this, arguments);
|
95
|
-
};
|
96
|
-
}();
|
97
|
-
var handleDragEnter = function handleDragEnter(event) {
|
98
|
-
if (disabled) {
|
99
|
-
return;
|
100
|
-
}
|
101
|
-
event.preventDefault();
|
102
|
-
event.stopPropagation();
|
103
|
-
if (onDragEnter) {
|
104
|
-
onDragEnter(event);
|
105
|
-
}
|
106
|
-
setIsDropzoneActive(true);
|
107
|
-
};
|
108
|
-
var handleDragLeave = function handleDragLeave(event) {
|
109
|
-
if (disabled) {
|
110
|
-
return;
|
111
|
-
}
|
112
|
-
event.preventDefault();
|
113
|
-
if (onDragLeave) {
|
114
|
-
onDragLeave(event);
|
115
|
-
}
|
116
|
-
setIsDropzoneActive(false);
|
117
|
-
};
|
118
|
-
var handleDragOver = function handleDragOver(event) {
|
119
|
-
if (disabled) {
|
120
|
-
return;
|
121
|
-
}
|
122
|
-
event.preventDefault();
|
123
|
-
if (onDragOver) {
|
124
|
-
onDragOver(event);
|
125
|
-
}
|
126
|
-
var rawFiles = event.dataTransfer.files;
|
127
|
-
if (!isDropzoneActive && rawFiles && rawFiles.length > 0) {
|
128
|
-
setIsDropzoneActive(true);
|
129
|
-
}
|
130
|
-
};
|
131
|
-
var handleDrop = /*#__PURE__*/function () {
|
132
|
-
var _ref3 = _rollupPluginBabelHelpers.asyncToGenerator( /*#__PURE__*/_rollupPluginBabelHelpers.regeneratorRuntime().mark(function _callee2(event) {
|
133
|
-
var rawFiles, afterAction;
|
134
|
-
return _rollupPluginBabelHelpers.regeneratorRuntime().wrap(function _callee2$(_context2) {
|
135
|
-
while (1) switch (_context2.prev = _context2.next) {
|
136
|
-
case 0:
|
137
|
-
if (!disabled) {
|
138
|
-
_context2.next = 2;
|
139
|
-
break;
|
140
|
-
}
|
141
|
-
return _context2.abrupt("return");
|
142
|
-
case 2:
|
143
|
-
event.preventDefault();
|
144
|
-
event.persist();
|
145
|
-
rawFiles = event.dataTransfer.files;
|
146
|
-
afterAction = function afterAction() {
|
147
|
-
event.dataTransfer.clearData();
|
148
|
-
setIsDropzoneActive(false);
|
149
|
-
};
|
150
|
-
_context2.next = 8;
|
151
|
-
return processFiles(rawFiles, onDrop, afterAction);
|
152
|
-
case 8:
|
153
|
-
case "end":
|
154
|
-
return _context2.stop();
|
155
|
-
}
|
156
|
-
}, _callee2);
|
157
|
-
}));
|
158
|
-
return function handleDrop(_x4) {
|
159
|
-
return _ref3.apply(this, arguments);
|
160
|
-
};
|
161
|
-
}();
|
162
|
-
var handleClick = function handleClick(event) {
|
163
|
-
if (!inputRef.current || disabled) {
|
164
|
-
return;
|
165
|
-
}
|
166
|
-
inputRef.current.click();
|
167
|
-
if (onClick) {
|
168
|
-
onClick(event);
|
169
|
-
}
|
170
|
-
};
|
171
|
-
var handleChange = /*#__PURE__*/function () {
|
172
|
-
var _ref4 = _rollupPluginBabelHelpers.asyncToGenerator( /*#__PURE__*/_rollupPluginBabelHelpers.regeneratorRuntime().mark(function _callee3(event) {
|
173
|
-
var rawFiles;
|
174
|
-
return _rollupPluginBabelHelpers.regeneratorRuntime().wrap(function _callee3$(_context3) {
|
175
|
-
while (1) switch (_context3.prev = _context3.next) {
|
176
|
-
case 0:
|
177
|
-
if (!disabled) {
|
178
|
-
_context3.next = 2;
|
179
|
-
break;
|
180
|
-
}
|
181
|
-
return _context3.abrupt("return");
|
182
|
-
case 2:
|
183
|
-
if (onChange) {
|
184
|
-
onChange(event);
|
185
|
-
}
|
186
|
-
rawFiles = event.target.files;
|
187
|
-
_context3.next = 6;
|
188
|
-
return processFiles(rawFiles, onChoseFiles);
|
189
|
-
case 6:
|
190
|
-
case "end":
|
191
|
-
return _context3.stop();
|
192
|
-
}
|
193
|
-
}, _callee3);
|
194
|
-
}));
|
195
|
-
return function handleChange(_x5) {
|
196
|
-
return _ref4.apply(this, arguments);
|
197
|
-
};
|
198
|
-
}();
|
199
|
-
return /*#__PURE__*/React.createElement(Root, {
|
200
|
-
className: index.cx(className, isDropzoneActive && Dropzone_tokens.classes.active, stretch && Dropzone_tokens.classes.stretch, disabled && Dropzone_tokens.classes.disabled),
|
201
|
-
view: view,
|
202
|
-
size: size,
|
203
|
-
disabled: disabled,
|
204
|
-
tabIndex: 0,
|
205
|
-
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, style), {}, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Dropzone_tokens.privateTokens.width, innerWidth), Dropzone_tokens.privateTokens.height, innerHeight))
|
206
|
-
}, /*#__PURE__*/React.createElement(Dropzone_styles.DropzoneHandlerOverlay, {
|
207
|
-
onDragEnter: handleDragEnter,
|
208
|
-
onDragLeave: handleDragLeave,
|
209
|
-
onDragOver: handleDragOver,
|
210
|
-
onDrop: handleDrop,
|
211
|
-
onClick: handleClick
|
212
|
-
}), /*#__PURE__*/React.createElement(Dropzone_styles.Content, null, /*#__PURE__*/React.createElement(Dropzone_styles.TitleWrapper, {
|
213
|
-
className: index.cx(iconPlacement === 'top' && Dropzone_tokens.classes.verticalContentPlacing)
|
214
|
-
}, icon || _IconArrowBarDown || (_IconArrowBarDown = /*#__PURE__*/React.createElement(IconArrowBarDown.IconArrowBarDown, {
|
215
|
-
color: "inherit",
|
216
|
-
size: "s"
|
217
|
-
})), title && /*#__PURE__*/React.createElement(Dropzone_styles.Title, null, title)), description && /*#__PURE__*/React.createElement(Dropzone_styles.Description, null, description)), /*#__PURE__*/React.createElement(Dropzone_styles.HiddenInput, _rollupPluginBabelHelpers.extends({
|
218
|
-
ref: forkInputRef,
|
219
|
-
type: "file",
|
220
|
-
accept: accept,
|
221
|
-
multiple: multiple,
|
222
|
-
tabIndex: -1,
|
223
|
-
onChange: handleChange
|
224
|
-
}, rest)));
|
225
|
-
});
|
226
|
-
};
|
227
|
-
var dropzoneConfig = {
|
228
|
-
name: 'Dropzone',
|
229
|
-
tag: 'div',
|
230
|
-
layout: dropzoneRoot,
|
231
|
-
base: Dropzone_styles.base,
|
232
|
-
variations: {
|
233
|
-
view: {
|
234
|
-
css: base.base
|
235
|
-
},
|
236
|
-
size: {
|
237
|
-
css: base$1.base
|
238
|
-
},
|
239
|
-
disabled: {
|
240
|
-
css: base$2.base,
|
241
|
-
attrs: true
|
242
|
-
}
|
243
|
-
},
|
244
|
-
defaults: {
|
245
|
-
view: 'default',
|
246
|
-
size: 'm'
|
247
|
-
}
|
248
|
-
};
|
249
|
-
|
250
|
-
exports.dropzoneConfig = dropzoneConfig;
|
251
|
-
exports.dropzoneRoot = dropzoneRoot;
|
252
|
-
//# sourceMappingURL=Dropzone.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Dropzone.js","sources":["../../../src/components/Dropzone/Dropzone.tsx"],"sourcesContent":["import React, { forwardRef, useRef, useState } from 'react';\nimport type { ChangeEvent, CSSProperties, DragEvent, MouseEvent } from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { cx, getSizeValueFromProp } from '../../utils';\nimport { IconArrowBarDown } from '../../components/_Icon';\nimport type { RootProps } from '../../engines';\n\nimport type { DropzoneProps, DropzoneRootProps, FileArgs, FileProcessHandler } from './Dropzone.types';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport {\n base,\n Content,\n Description,\n DropzoneHandlerOverlay,\n HiddenInput,\n Title,\n TitleWrapper,\n} from './Dropzone.styles';\nimport { classes, privateTokens } from './Dropzone.tokens';\n\nexport const dropzoneRoot = (Root: RootProps<HTMLDivElement, DropzoneRootProps>) =>\n forwardRef<HTMLInputElement, DropzoneProps>(\n (\n {\n className,\n style,\n accept,\n multiple,\n title,\n description,\n icon,\n iconPlacement,\n size,\n view,\n disabled,\n stretch,\n width,\n height,\n onDragEnter,\n onDragLeave,\n onDragOver,\n onDrop,\n validator,\n onClick,\n onChange,\n onChoseFiles,\n ...rest\n },\n outerRef,\n ) => {\n const [isDropzoneActive, setIsDropzoneActive] = useState(false);\n\n const inputRef = useRef<HTMLInputElement>(null);\n const forkInputRef = useForkRef(outerRef, inputRef);\n\n const innerWidth = width ? getSizeValueFromProp(width) : 'fit-content';\n const innerHeight = height ? getSizeValueFromProp(height) : 'fit-content';\n\n const processFiles = async (\n rawFiles: FileList | null,\n callback?: FileProcessHandler,\n afterAction?: () => void,\n ) => {\n if (!rawFiles?.length) {\n return;\n }\n\n const files = [...rawFiles];\n let res: FileArgs = {\n acceptedFiles: files,\n };\n\n if (validator) {\n res = await validator?.(files);\n }\n\n if (callback) {\n await callback(res);\n }\n\n if (afterAction) {\n afterAction();\n }\n };\n\n const handleDragEnter = (event: DragEvent<HTMLDivElement>) => {\n if (disabled) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n\n if (onDragEnter) {\n onDragEnter(event);\n }\n\n setIsDropzoneActive(true);\n };\n\n const handleDragLeave = (event: DragEvent<HTMLDivElement>) => {\n if (disabled) {\n return;\n }\n\n event.preventDefault();\n\n if (onDragLeave) {\n onDragLeave(event);\n }\n\n setIsDropzoneActive(false);\n };\n\n const handleDragOver = (event: DragEvent<HTMLDivElement>) => {\n if (disabled) {\n return;\n }\n\n event.preventDefault();\n\n if (onDragOver) {\n onDragOver(event);\n }\n\n const { files: rawFiles } = event.dataTransfer;\n\n if (!isDropzoneActive && rawFiles && rawFiles.length > 0) {\n setIsDropzoneActive(true);\n }\n };\n\n const handleDrop = async (event: DragEvent<HTMLDivElement>) => {\n if (disabled) {\n return;\n }\n\n event.preventDefault();\n event.persist();\n\n const { files: rawFiles } = event.dataTransfer;\n const afterAction = () => {\n event.dataTransfer.clearData();\n setIsDropzoneActive(false);\n };\n\n await processFiles(rawFiles, onDrop, afterAction);\n };\n\n const handleClick = (event: MouseEvent<HTMLInputElement>) => {\n if (!inputRef.current || disabled) {\n return;\n }\n\n inputRef.current.click();\n\n if (onClick) {\n onClick(event);\n }\n };\n\n const handleChange = async (event: ChangeEvent<HTMLInputElement>) => {\n if (disabled) {\n return;\n }\n\n if (onChange) {\n onChange(event);\n }\n\n const { files: rawFiles } = event.target;\n\n await processFiles(rawFiles, onChoseFiles);\n };\n\n return (\n <Root\n className={cx(\n className,\n isDropzoneActive && classes.active,\n stretch && classes.stretch,\n disabled && classes.disabled,\n )}\n view={view}\n size={size}\n disabled={disabled}\n tabIndex={0}\n style={\n {\n ...style,\n [privateTokens.width]: innerWidth,\n [privateTokens.height]: innerHeight,\n } as CSSProperties\n }\n >\n <DropzoneHandlerOverlay\n onDragEnter={handleDragEnter}\n onDragLeave={handleDragLeave}\n onDragOver={handleDragOver}\n onDrop={handleDrop}\n onClick={handleClick}\n />\n <Content>\n <TitleWrapper className={cx(iconPlacement === 'top' && classes.verticalContentPlacing)}>\n {icon || <IconArrowBarDown color=\"inherit\" size=\"s\" />}\n {title && <Title>{title}</Title>}\n </TitleWrapper>\n {description && <Description>{description}</Description>}\n </Content>\n <HiddenInput\n ref={forkInputRef}\n type=\"file\"\n accept={accept}\n multiple={multiple}\n tabIndex={-1}\n onChange={handleChange}\n {...rest}\n />\n </Root>\n );\n },\n );\n\nexport const dropzoneConfig = {\n name: 'Dropzone',\n tag: 'div',\n layout: dropzoneRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["dropzoneRoot","Root","forwardRef","_ref","outerRef","className","style","accept","multiple","title","description","icon","iconPlacement","size","view","disabled","stretch","width","height","onDragEnter","onDragLeave","onDragOver","onDrop","validator","onClick","onChange","onChoseFiles","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","isDropzoneActive","setIsDropzoneActive","inputRef","useRef","forkInputRef","useForkRef","innerWidth","getSizeValueFromProp","innerHeight","processFiles","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","rawFiles","callback","afterAction","files","res","wrap","_callee$","_context","prev","next","length","abrupt","_toConsumableArray","acceptedFiles","sent","stop","_x","_x2","_x3","apply","arguments","handleDragEnter","event","preventDefault","stopPropagation","handleDragLeave","handleDragOver","dataTransfer","handleDrop","_ref3","_callee2","_callee2$","_context2","persist","clearData","_x4","handleClick","current","click","handleChange","_ref4","_callee3","_callee3$","_context3","target","_x5","React","createElement","cx","classes","active","tabIndex","_objectSpread","_defineProperty","privateTokens","DropzoneHandlerOverlay","Content","TitleWrapper","verticalContentPlacing","_IconArrowBarDown","IconArrowBarDown","color","Title","Description","HiddenInput","_extends","ref","type","dropzoneConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","defaults"],"mappings":";;;;;;;;;;;;;;;;;;IAuBaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAAkD,EAAA;AAAA,EAAA,oBAC3EC,gBAAU,CACN,UAAAC,IAAA,EA0BIC,QAAQ,EACP;AAAA,IAAA,IAzBGC,SAAS,GAAAF,IAAA,CAATE,SAAS;MACTC,KAAK,GAAAH,IAAA,CAALG,KAAK;MACLC,MAAM,GAAAJ,IAAA,CAANI,MAAM;MACNC,QAAQ,GAAAL,IAAA,CAARK,QAAQ;MACRC,KAAK,GAAAN,IAAA,CAALM,KAAK;MACLC,WAAW,GAAAP,IAAA,CAAXO,WAAW;MACXC,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,aAAa,GAAAT,IAAA,CAAbS,aAAa;MACbC,IAAI,GAAAV,IAAA,CAAJU,IAAI;MACJC,IAAI,GAAAX,IAAA,CAAJW,IAAI;MACJC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,OAAO,GAAAb,IAAA,CAAPa,OAAO;MACPC,KAAK,GAAAd,IAAA,CAALc,KAAK;MACLC,MAAM,GAAAf,IAAA,CAANe,MAAM;MACNC,WAAW,GAAAhB,IAAA,CAAXgB,WAAW;MACXC,WAAW,GAAAjB,IAAA,CAA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,EAAAA,IAAI,EAAJA,oBAAI;AACJC,EAAAA,UAAU,EAAE;AACR5G,IAAAA,IAAI,EAAE;AACF6G,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACD/G,IAAAA,IAAI,EAAE;AACF8G,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACD9G,IAAAA,QAAQ,EAAE;AACN4G,MAAAA,GAAG,EAAEG,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNlH,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import './Dropzone.styles_1fo7dbq.css';
|
2
|
-
'use strict';
|
3
|
-
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
-
|
6
|
-
var react = require('@linaria/react');
|
7
|
-
|
8
|
-
var base = "bfglrd7";
|
9
|
-
var DropzoneHandlerOverlay = /*#__PURE__*/react.styled('div')({
|
10
|
-
name: "DropzoneHandlerOverlay",
|
11
|
-
"class": "dqiwesh",
|
12
|
-
propsAsIs: false
|
13
|
-
});
|
14
|
-
var Content = /*#__PURE__*/react.styled('div')({
|
15
|
-
name: "Content",
|
16
|
-
"class": "c1afz1o5",
|
17
|
-
propsAsIs: false
|
18
|
-
});
|
19
|
-
var TitleWrapper = /*#__PURE__*/react.styled('div')({
|
20
|
-
name: "TitleWrapper",
|
21
|
-
"class": "twnyozc",
|
22
|
-
propsAsIs: false
|
23
|
-
});
|
24
|
-
var Title = /*#__PURE__*/react.styled('span')({
|
25
|
-
name: "Title",
|
26
|
-
"class": "tahwclk",
|
27
|
-
propsAsIs: false
|
28
|
-
});
|
29
|
-
var Description = /*#__PURE__*/react.styled('span')({
|
30
|
-
name: "Description",
|
31
|
-
"class": "d1nsxook",
|
32
|
-
propsAsIs: false
|
33
|
-
});
|
34
|
-
var HiddenInput = /*#__PURE__*/react.styled('input')({
|
35
|
-
name: "HiddenInput",
|
36
|
-
"class": "hzipmyu",
|
37
|
-
propsAsIs: false
|
38
|
-
});
|
39
|
-
|
40
|
-
exports.Content = Content;
|
41
|
-
exports.Description = Description;
|
42
|
-
exports.DropzoneHandlerOverlay = DropzoneHandlerOverlay;
|
43
|
-
exports.HiddenInput = HiddenInput;
|
44
|
-
exports.Title = Title;
|
45
|
-
exports.TitleWrapper = TitleWrapper;
|
46
|
-
exports.base = base;
|
47
|
-
//# sourceMappingURL=Dropzone.styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Dropzone.styles.js","sources":["../../../src/components/Dropzone/Dropzone.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nexport const base = css`\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n`;\n\nexport const DropzoneHandlerOverlay = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nexport const Content = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n user-select: none;\n`;\n\nexport const TitleWrapper = styled.div``;\n\nexport const Title = styled.span``;\n\nexport const Description = styled.span``;\n\nexport const HiddenInput = styled.input`\n display: none;\n`;\n"],"names":["base","DropzoneHandlerOverlay","styled","name","class","propsAsIs","Content","TitleWrapper","Title","Description","HiddenInput"],"mappings":";;;;;;AAGO,IAAMA,IAAI,GAMhB,UAAA;AAEM,IAAMC,sBAAsB,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,wBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO3C,EAAA;AAEM,IAAMC,OAAO,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,SAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAM5B,EAAA;AAEM,IAAME,YAAY,gBAAGL,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAEjC,IAAMG,KAAK,gBAAGN,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,OAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAO,EAAA;AAE3B,IAAMI,WAAW,gBAAGP,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAO,EAAA;AAEjC,IAAMK,WAAW,gBAAGR,YAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEhC;;;;;;;;;;"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
.bfglrd7{position:relative;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;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;}
|
2
|
-
.dqiwesh{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;}
|
3
|
-
.c1afz1o5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
.hzipmyu{display:none;}
|