@mirohq/design-system-styles 1.0.24-dropdown.1 → 1.0.25
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/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -34,8 +34,8 @@ const css = (style) => ({
|
|
|
34
34
|
'[data-whatintent="keyboard"] &:focus': style
|
|
35
35
|
});
|
|
36
36
|
const defaults = css({
|
|
37
|
-
boxShadow:
|
|
38
|
-
outline: "
|
|
37
|
+
boxShadow: `0 0 0 1px rgba(104, 129, 255, 1), 0 0 0 5px rgba(217, 224, 255, 1)`,
|
|
38
|
+
outline: "none"
|
|
39
39
|
});
|
|
40
40
|
const inner = css({
|
|
41
41
|
borderRadius: "$100",
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\n\n// use what-input to \"fake\" focus-visible\n// TODO: Remove it whenever Safari 15.4 becomes the default for most of its users\nif (/apple/i.test(globalThis?.navigator?.vendor)) {\n import(/* webpackChunkName: \"what-input\" */ 'what-input')\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSSProperties) => ({\n '&:focus-visible': style,\n '[data-whatintent=\"keyboard\"] &:focus': style,\n})\n\nexport const defaults = css({\n boxShadow:
|
|
1
|
+
{"version":3,"file":"main.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\n\n// use what-input to \"fake\" focus-visible\n// TODO: Remove it whenever Safari 15.4 becomes the default for most of its users\nif (/apple/i.test(globalThis?.navigator?.vendor)) {\n import(/* webpackChunkName: \"what-input\" */ 'what-input')\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSSProperties) => ({\n '&:focus-visible': style,\n '[data-whatintent=\"keyboard\"] &:focus': style,\n})\n\n/*\n @deprecated use shadow token with css() instead\n */\nexport const defaults = css({\n boxShadow: `0 0 0 1px rgba(104, 129, 255, 1), 0 0 0 5px rgba(217, 224, 255, 1)`,\n outline: 'none',\n})\n\n/*\n @deprecated use shadow token with css() instead\n */\nexport const inner = css({\n borderRadius: '$100',\n boxShadow: `inset 0 0 0 3px rgba(217, 224, 255, 1), inset 0 0 0 5px rgba(104, 129, 255, 1)`,\n outline: 'none',\n})\n","import { keyframes } from '@mirohq/design-system-stitches'\n\nexport const fadeInScaled = keyframes({\n '0%': { opacity: 0, transform: 'scale(0.8)' },\n '100%': { opacity: 1, transform: 'scale(1)' },\n})\n\nexport const fadeOutScaled = keyframes({\n '0%': { opacity: 1, transform: 'scale(1)' },\n '100%': { opacity: 0, transform: 'scale(0.8)' },\n})\n\nexport const fadeIn = keyframes({\n '0%': { opacity: 0 },\n '50%': { opacity: 0.7 },\n '100%': { opacity: 1 },\n})\n\nexport const fadeOut = keyframes({\n '0%': { opacity: 1 },\n '100%': { opacity: 0 },\n})\n"],"names":["keyframes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,EAAA,CAAA;AAIA,IAAI,SAAS,IAAK,CAAA,CAAA,EAAA,GAAA,UAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAY,SAAZ,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAuB,MAAM,CAAG,EAAA;AAChD,EAAA,mFAAA;AAAA;AAAA,IAA4C,YAAA;AAAA,EAAA,MAAA,CAAA;AAC9C,CAAA;AAGa,MAAA,GAAA,GAAM,CAAC,KAA0B,MAAA;AAAA,EAC5C,iBAAmB,EAAA,KAAA;AAAA,EACnB,sCAAwC,EAAA,KAAA;AAC1C,CAAA,CAAA,CAAA;AAKO,MAAM,WAAW,GAAI,CAAA;AAAA,EAC1B,SAAW,EAAA,CAAA,kEAAA,CAAA;AAAA,EACX,OAAS,EAAA,MAAA;AACX,CAAC,CAAA,CAAA;AAKM,MAAM,QAAQ,GAAI,CAAA;AAAA,EACvB,YAAc,EAAA,MAAA;AAAA,EACd,SAAW,EAAA,CAAA,8EAAA,CAAA;AAAA,EACX,OAAS,EAAA,MAAA;AACX,CAAC,CAAA;;;;;;;;;AC3BM,MAAM,eAAeA,8BAAU,CAAA;AAAA,EACpC,IAAM,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,YAAa,EAAA;AAAA,EAC5C,MAAQ,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,UAAW,EAAA;AAC9C,CAAC,CAAA,CAAA;AAEM,MAAM,gBAAgBA,8BAAU,CAAA;AAAA,EACrC,IAAM,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,UAAW,EAAA;AAAA,EAC1C,MAAQ,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,YAAa,EAAA;AAChD,CAAC,CAAA,CAAA;AAEM,MAAM,SAASA,8BAAU,CAAA;AAAA,EAC9B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAE,EAAA;AAAA,EACnB,KAAA,EAAO,EAAE,OAAA,EAAS,GAAI,EAAA;AAAA,EACtB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAE,EAAA;AACvB,CAAC,CAAA,CAAA;AAEM,MAAM,UAAUA,8BAAU,CAAA;AAAA,EAC/B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAE,EAAA;AAAA,EACnB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAE,EAAA;AACvB,CAAC,CAAA;;;;;;;;;;;;;"}
|
package/dist/module.js
CHANGED
|
@@ -12,8 +12,8 @@ const css = (style) => ({
|
|
|
12
12
|
'[data-whatintent="keyboard"] &:focus': style
|
|
13
13
|
});
|
|
14
14
|
const defaults = css({
|
|
15
|
-
boxShadow:
|
|
16
|
-
outline: "
|
|
15
|
+
boxShadow: `0 0 0 1px rgba(104, 129, 255, 1), 0 0 0 5px rgba(217, 224, 255, 1)`,
|
|
16
|
+
outline: "none"
|
|
17
17
|
});
|
|
18
18
|
const inner = css({
|
|
19
19
|
borderRadius: "$100",
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\n\n// use what-input to \"fake\" focus-visible\n// TODO: Remove it whenever Safari 15.4 becomes the default for most of its users\nif (/apple/i.test(globalThis?.navigator?.vendor)) {\n import(/* webpackChunkName: \"what-input\" */ 'what-input')\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSSProperties) => ({\n '&:focus-visible': style,\n '[data-whatintent=\"keyboard\"] &:focus': style,\n})\n\nexport const defaults = css({\n boxShadow:
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\n\n// use what-input to \"fake\" focus-visible\n// TODO: Remove it whenever Safari 15.4 becomes the default for most of its users\nif (/apple/i.test(globalThis?.navigator?.vendor)) {\n import(/* webpackChunkName: \"what-input\" */ 'what-input')\n}\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSSProperties) => ({\n '&:focus-visible': style,\n '[data-whatintent=\"keyboard\"] &:focus': style,\n})\n\n/*\n @deprecated use shadow token with css() instead\n */\nexport const defaults = css({\n boxShadow: `0 0 0 1px rgba(104, 129, 255, 1), 0 0 0 5px rgba(217, 224, 255, 1)`,\n outline: 'none',\n})\n\n/*\n @deprecated use shadow token with css() instead\n */\nexport const inner = css({\n borderRadius: '$100',\n boxShadow: `inset 0 0 0 3px rgba(217, 224, 255, 1), inset 0 0 0 5px rgba(104, 129, 255, 1)`,\n outline: 'none',\n})\n","import { keyframes } from '@mirohq/design-system-stitches'\n\nexport const fadeInScaled = keyframes({\n '0%': { opacity: 0, transform: 'scale(0.8)' },\n '100%': { opacity: 1, transform: 'scale(1)' },\n})\n\nexport const fadeOutScaled = keyframes({\n '0%': { opacity: 1, transform: 'scale(1)' },\n '100%': { opacity: 0, transform: 'scale(0.8)' },\n})\n\nexport const fadeIn = keyframes({\n '0%': { opacity: 0 },\n '50%': { opacity: 0.7 },\n '100%': { opacity: 1 },\n})\n\nexport const fadeOut = keyframes({\n '0%': { opacity: 1 },\n '100%': { opacity: 0 },\n})\n"],"names":[],"mappings":";;AAAA,IAAA,EAAA,CAAA;AAIA,IAAI,SAAS,IAAK,CAAA,CAAA,EAAA,GAAA,UAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,UAAA,CAAY,SAAZ,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAuB,MAAM,CAAG,EAAA;AAChD,EAAA;AAAA;AAAA,IAA4C,YAAA;AAAA,GAAA,CAAA;AAC9C,CAAA;AAGa,MAAA,GAAA,GAAM,CAAC,KAA0B,MAAA;AAAA,EAC5C,iBAAmB,EAAA,KAAA;AAAA,EACnB,sCAAwC,EAAA,KAAA;AAC1C,CAAA,CAAA,CAAA;AAKO,MAAM,WAAW,GAAI,CAAA;AAAA,EAC1B,SAAW,EAAA,CAAA,kEAAA,CAAA;AAAA,EACX,OAAS,EAAA,MAAA;AACX,CAAC,CAAA,CAAA;AAKM,MAAM,QAAQ,GAAI,CAAA;AAAA,EACvB,YAAc,EAAA,MAAA;AAAA,EACd,SAAW,EAAA,CAAA,8EAAA,CAAA;AAAA,EACX,OAAS,EAAA,MAAA;AACX,CAAC,CAAA;;;;;;;;;AC3BM,MAAM,eAAe,SAAU,CAAA;AAAA,EACpC,IAAM,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,YAAa,EAAA;AAAA,EAC5C,MAAQ,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,UAAW,EAAA;AAC9C,CAAC,CAAA,CAAA;AAEM,MAAM,gBAAgB,SAAU,CAAA;AAAA,EACrC,IAAM,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,UAAW,EAAA;AAAA,EAC1C,MAAQ,EAAA,EAAE,OAAS,EAAA,CAAA,EAAG,WAAW,YAAa,EAAA;AAChD,CAAC,CAAA,CAAA;AAEM,MAAM,SAAS,SAAU,CAAA;AAAA,EAC9B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAE,EAAA;AAAA,EACnB,KAAA,EAAO,EAAE,OAAA,EAAS,GAAI,EAAA;AAAA,EACtB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAE,EAAA;AACvB,CAAC,CAAA,CAAA;AAEM,MAAM,UAAU,SAAU,CAAA;AAAA,EAC/B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAE,EAAA;AAAA,EACnB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAE,EAAA;AACvB,CAAC,CAAA;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-styles",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"what-input": "^5.2.11",
|
|
26
|
-
"@mirohq/design-system-stitches": "^2.3.
|
|
27
|
-
"@mirohq/design-tokens": "^2.7.
|
|
26
|
+
"@mirohq/design-system-stitches": "^2.3.3",
|
|
27
|
+
"@mirohq/design-tokens": "^2.7.1"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "rollup -c ../../rollup.config.js",
|