@mirohq/design-system-styles 3.0.1-aria-label-icon-button.2 → 3.1.0-fix-stitches-types.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/dist/main.js +3 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -3
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var designSystemStitches = require('@mirohq/design-system-stitches');
|
|
6
4
|
|
|
7
5
|
const css = (style) => {
|
|
@@ -44,10 +42,10 @@ const fadeOut = designSystemStitches.keyframes({
|
|
|
44
42
|
|
|
45
43
|
var animations = /*#__PURE__*/Object.freeze({
|
|
46
44
|
__proto__: null,
|
|
47
|
-
fadeInScaled: fadeInScaled,
|
|
48
|
-
fadeOutScaled: fadeOutScaled,
|
|
49
45
|
fadeIn: fadeIn,
|
|
50
|
-
|
|
46
|
+
fadeInScaled: fadeInScaled,
|
|
47
|
+
fadeOut: fadeOut,
|
|
48
|
+
fadeOutScaled: fadeOutScaled
|
|
51
49
|
});
|
|
52
50
|
|
|
53
51
|
exports.animations = animations;
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSS } from '@mirohq/design-system-stitches'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSS) => {\n // Manage focus outline for Windows High Contrast Mode\n const styleWithOutline = {\n // use `as any` to workaround TS2742 error\n ...(style as any),\n\n '@media (forced-colors: active)': {\n outline: 'Highlight solid',\n },\n }\n\n return {\n '&:focus-visible': styleWithOutline,\n '&[data-focused]': styleWithOutline,\n '&[data-focus-visible]': styleWithOutline,\n }\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":"
|
|
1
|
+
{"version":3,"file":"main.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSS } from '@mirohq/design-system-stitches'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSS) => {\n // Manage focus outline for Windows High Contrast Mode\n const styleWithOutline = {\n // use `as any` to workaround TS2742 error\n ...(style as any),\n\n '@media (forced-colors: active)': {\n outline: 'Highlight solid',\n },\n }\n\n return {\n '&:focus-visible': styleWithOutline,\n '&[data-focused]': styleWithOutline,\n '&[data-focus-visible]': styleWithOutline,\n }\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":";;;;AAGO,MAAM,GAAA,GAAM,CAAC,KAAA,KAAe;AAEjC,EAAA,MAAM,gBAAA,GAAmB;AAAA;AAAA,IAEvB,GAAI,KAAA;AAAA,IAEJ,gCAAA,EAAkC;AAAA,MAChC,OAAA,EAAS;AAAA;AACX,GACF;AAEA,EAAA,OAAO;AAAA,IACL,iBAAA,EAAmB,gBAAA;AAAA,IACnB,iBAAA,EAAmB,gBAAA;AAAA,IACnB,uBAAA,EAAyB;AAAA,GAC3B;AACF,CAAA;;;;;;;ACjBO,MAAM,eAAeA,8BAAA,CAAU;AAAA,EACpC,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,YAAA,EAAa;AAAA,EAC5C,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,UAAA;AACnC,CAAC,CAAA;AAEM,MAAM,gBAAgBA,8BAAA,CAAU;AAAA,EACrC,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,UAAA,EAAW;AAAA,EAC1C,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,YAAA;AACnC,CAAC,CAAA;AAEM,MAAM,SAASA,8BAAA,CAAU;AAAA,EAC9B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,EACnB,KAAA,EAAO,EAAE,OAAA,EAAS,GAAA,EAAI;AAAA,EACtB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA;AACrB,CAAC,CAAA;AAEM,MAAM,UAAUA,8BAAA,CAAU;AAAA,EAC/B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,EACnB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA;AACrB,CAAC,CAAA;;;;;;;;;;;;;"}
|
package/dist/module.js
CHANGED
|
@@ -40,10 +40,10 @@ const fadeOut = keyframes({
|
|
|
40
40
|
|
|
41
41
|
var animations = /*#__PURE__*/Object.freeze({
|
|
42
42
|
__proto__: null,
|
|
43
|
-
fadeInScaled: fadeInScaled,
|
|
44
|
-
fadeOutScaled: fadeOutScaled,
|
|
45
43
|
fadeIn: fadeIn,
|
|
46
|
-
|
|
44
|
+
fadeInScaled: fadeInScaled,
|
|
45
|
+
fadeOut: fadeOut,
|
|
46
|
+
fadeOutScaled: fadeOutScaled
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
export { animations, focus };
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSS } from '@mirohq/design-system-stitches'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSS) => {\n // Manage focus outline for Windows High Contrast Mode\n const styleWithOutline = {\n // use `as any` to workaround TS2742 error\n ...(style as any),\n\n '@media (forced-colors: active)': {\n outline: 'Highlight solid',\n },\n }\n\n return {\n '&:focus-visible': styleWithOutline,\n '&[data-focused]': styleWithOutline,\n '&[data-focus-visible]': styleWithOutline,\n }\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":";;
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../src/focus.ts","../src/animations.ts"],"sourcesContent":["import type { CSS } from '@mirohq/design-system-stitches'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const css = (style: CSS) => {\n // Manage focus outline for Windows High Contrast Mode\n const styleWithOutline = {\n // use `as any` to workaround TS2742 error\n ...(style as any),\n\n '@media (forced-colors: active)': {\n outline: 'Highlight solid',\n },\n }\n\n return {\n '&:focus-visible': styleWithOutline,\n '&[data-focused]': styleWithOutline,\n '&[data-focus-visible]': styleWithOutline,\n }\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":";;AAGO,MAAM,GAAA,GAAM,CAAC,KAAA,KAAe;AAEjC,EAAA,MAAM,gBAAA,GAAmB;AAAA;AAAA,IAEvB,GAAI,KAAA;AAAA,IAEJ,gCAAA,EAAkC;AAAA,MAChC,OAAA,EAAS;AAAA;AACX,GACF;AAEA,EAAA,OAAO;AAAA,IACL,iBAAA,EAAmB,gBAAA;AAAA,IACnB,iBAAA,EAAmB,gBAAA;AAAA,IACnB,uBAAA,EAAyB;AAAA,GAC3B;AACF,CAAA;;;;;;;ACjBO,MAAM,eAAe,SAAA,CAAU;AAAA,EACpC,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,YAAA,EAAa;AAAA,EAC5C,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,UAAA;AACnC,CAAC,CAAA;AAEM,MAAM,gBAAgB,SAAA,CAAU;AAAA,EACrC,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,UAAA,EAAW;AAAA,EAC1C,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA,EAAG,WAAW,YAAA;AACnC,CAAC,CAAA;AAEM,MAAM,SAAS,SAAA,CAAU;AAAA,EAC9B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,EACnB,KAAA,EAAO,EAAE,OAAA,EAAS,GAAA,EAAI;AAAA,EACtB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA;AACrB,CAAC,CAAA;AAEM,MAAM,UAAU,SAAA,CAAU;AAAA,EAC/B,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAE;AAAA,EACnB,MAAA,EAAQ,EAAE,OAAA,EAAS,CAAA;AACrB,CAAC,CAAA;;;;;;;;;;;;"}
|
package/dist/types.d.ts
CHANGED
|
@@ -30,16 +30,16 @@ declare const fadeOut: {
|
|
|
30
30
|
name: string;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
declare const animations_fadeInScaled: typeof fadeInScaled;
|
|
34
|
-
declare const animations_fadeOutScaled: typeof fadeOutScaled;
|
|
35
33
|
declare const animations_fadeIn: typeof fadeIn;
|
|
34
|
+
declare const animations_fadeInScaled: typeof fadeInScaled;
|
|
36
35
|
declare const animations_fadeOut: typeof fadeOut;
|
|
36
|
+
declare const animations_fadeOutScaled: typeof fadeOutScaled;
|
|
37
37
|
declare namespace animations {
|
|
38
38
|
export {
|
|
39
|
-
animations_fadeInScaled as fadeInScaled,
|
|
40
|
-
animations_fadeOutScaled as fadeOutScaled,
|
|
41
39
|
animations_fadeIn as fadeIn,
|
|
40
|
+
animations_fadeInScaled as fadeInScaled,
|
|
42
41
|
animations_fadeOut as fadeOut,
|
|
42
|
+
animations_fadeOutScaled as fadeOutScaled,
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-styles",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0-fix-stitches-types.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react": "^16.14 || ^17 || ^18 || ^19"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@mirohq/design-system-stitches": "^3.
|
|
28
|
+
"@mirohq/design-system-stitches": "^3.2.0-fix-stitches-types.0"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "rollup -c ../../rollup.config.js",
|