@voiceflow/style 1.15.1-6421b95220.102 → 1.15.1
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/build/__fixtures__/Button/index.d.ts +1 -1
- package/build/__fixtures__/Button/index.d.ts.map +1 -1
- package/build/__fixtures__/Button/index.js +1 -1
- package/build/__fixtures__/Button/index.js.map +1 -1
- package/build/__fixtures__/InlineThemedButton/InlineThemedButton.component.d.ts.map +1 -1
- package/build/__fixtures__/InlineThemedButton/InlineThemedButton.component.js +1 -1
- package/build/__fixtures__/InlineThemedButton/InlineThemedButton.component.js.map +1 -1
- package/build/__fixtures__/InlineThemedButton/InlineThemedButton.styled.d.ts.map +1 -1
- package/build/__fixtures__/InlineThemedButton/InlineThemedButton.styled.js.map +1 -1
- package/build/__fixtures__/InlineThemedButton/index.d.ts.map +1 -1
- package/build/__fixtures__/InlineThemedButton/index.js.map +1 -1
- package/build/__fixtures__/InlineVarButton/InlineVarButton.styled.d.ts.map +1 -1
- package/build/__fixtures__/InlineVarButton/InlineVarButton.styled.js.map +1 -1
- package/build/__fixtures__/InlineVarButton/index.d.ts.map +1 -1
- package/build/__fixtures__/InlineVarButton/index.js.map +1 -1
- package/build/__fixtures__/RecipeButton/RecipeButton.component.d.ts.map +1 -1
- package/build/__fixtures__/RecipeButton/RecipeButton.component.js.map +1 -1
- package/build/__fixtures__/RecipeButton/RecipeButton.styled.d.ts.map +1 -1
- package/build/__fixtures__/RecipeButton/RecipeButton.styled.js.map +1 -1
- package/build/__fixtures__/RecipeButton/index.d.ts.map +1 -1
- package/build/__fixtures__/RecipeButton/index.js.map +1 -1
- package/build/__fixtures__/ReuseCSS/ReuseCSS.component.d.ts.map +1 -1
- package/build/__fixtures__/ReuseCSS/ReuseCSS.component.js.map +1 -1
- package/build/__fixtures__/ReuseCSS/index.d.ts.map +1 -1
- package/build/__fixtures__/ReuseCSS/index.js.map +1 -1
- package/build/__fixtures__/ReuseStyled/ReuseStyled.styled.d.ts.map +1 -1
- package/build/__fixtures__/ReuseStyled/ReuseStyled.styled.js.map +1 -1
- package/build/__fixtures__/ReuseStyled/index.d.ts.map +1 -1
- package/build/__fixtures__/ReuseStyled/index.js.map +1 -1
- package/build/__fixtures__/ThemedButton/ThemedButton.styled.d.ts.map +1 -1
- package/build/__fixtures__/ThemedButton/ThemedButton.styled.js.map +1 -1
- package/build/__fixtures__/ThemedButton/index.d.ts.map +1 -1
- package/build/__fixtures__/ThemedButton/index.js.map +1 -1
- package/build/__fixtures__/VariantButton/VariantButton.component.d.ts.map +1 -1
- package/build/__fixtures__/VariantButton/VariantButton.component.js.map +1 -1
- package/build/__fixtures__/VariantButton/VariantButton.styled.d.ts.map +1 -1
- package/build/__fixtures__/VariantButton/VariantButton.styled.js.map +1 -1
- package/build/__fixtures__/VariantButton/index.d.ts.map +1 -1
- package/build/__fixtures__/VariantButton/index.js.map +1 -1
- package/build/styled/utils.js +1 -1
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as css from './Button.css.js';
|
|
2
1
|
import * as styled from './Button.styled.js';
|
|
2
|
+
import * as css from './Button.css.js';
|
|
3
3
|
export type { ButtonProps } from './Button.component.js';
|
|
4
4
|
export declare const Button: import("react").FC<import("./Button.component.js").ButtonProps> & typeof styled & {
|
|
5
5
|
css: typeof css;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,MAAM;;CAAkD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button as ButtonComponent } from './Button.component.js';
|
|
2
|
-
import * as css from './Button.css.js';
|
|
3
2
|
import * as styled from './Button.styled.js';
|
|
3
|
+
import * as css from './Button.css.js';
|
|
4
4
|
export const Button = Object.assign(ButtonComponent, styled, { css });
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAE1C,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAIpC,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineThemedButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"InlineThemedButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAK7C,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC1D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAIhE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as Theme from '../theme.css.js';
|
|
3
2
|
import * as S from './InlineThemedButton.styled.js';
|
|
3
|
+
import * as Theme from '../theme.css.js';
|
|
4
4
|
export const InlineThemedButton = ({ brandColor, onClick, children }) => (_jsx(S.Base, { onClick: onClick, theme: { color: { brand: brandColor }, spacing: Theme.spacing }, children: children }));
|
|
5
5
|
//# sourceMappingURL=InlineThemedButton.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineThemedButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"InlineThemedButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,6BAA6B,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAMtC,MAAM,CAAC,MAAM,kBAAkB,GAAsC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC1G,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,YACtF,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InlineThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;;;;;;;iBAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineThemedButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"InlineThemedButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/InlineThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC;AAEhD,eAAO,MAAM,kBAAkB;;CAAsD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEnG,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC;AAEhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineVarButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InlineVarButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;WAIf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineVarButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"InlineVarButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/InlineVarButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;IACrD,IAAI,EAAE;QACJ,UAAU,EAAE,QAAQ;KACrB;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAE7C,eAAO,MAAM,eAAe;;CAAmD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/InlineVarButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE1F,OAAO,KAAK,GAAG,MAAM,uBAAuB,CAAC;AAE7C,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,wBAAwB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecipeButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"RecipeButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC;CAAG;AAEvF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAIpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecipeButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.component.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RecipeButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.component.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAM3C,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACnG,KAAC,CAAC,CAAC,IAAI,IAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,YACpD,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecipeButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RecipeButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;GAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecipeButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"RecipeButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/RecipeButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,YAAY;;CAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/RecipeButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"ReuseCSS.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAI1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseCSS.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ReuseCSS.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/ReuseCSS.component.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAA0B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACxE,iBAAQ,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,YACtC,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,eAAO,MAAM,QAAQ;;CAA4C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseCSS/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReuseStyled.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,uGAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReuseStyled.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"ReuseStyled.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/ReuseStyled.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,WAAW;;CAA+C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ReuseStyled/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemedButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,uGAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemedButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/ThemedButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,eAAO,MAAM,YAAY;;CAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/ThemedButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"VariantButton.component.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,MAAM,OAAO,QAAQ,CAAC;CAChC;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAItD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"VariantButton.component.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.component.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,CAAC,MAAM,wBAAwB,CAAC;AAQ5C,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC7F,KAAC,CAAC,CAAC,IAAI,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,YACvC,QAAQ,GACF,CACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VariantButton.styled.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;GAAyC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"VariantButton.styled.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/VariantButton.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,eAAO,MAAM,aAAa;;CAAiD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__fixtures__/VariantButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEpF,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAE3C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC"}
|
package/build/styled/utils.js
CHANGED
|
@@ -3,7 +3,7 @@ import { clsx } from 'clsx';
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { STYLED_CLASS } from './constants.js';
|
|
5
5
|
export const getStaticClass = (firstArg, secondArg) => {
|
|
6
|
-
//
|
|
6
|
+
// oxlint-disable-next-line no-nested-ternary
|
|
7
7
|
const classNames = (Array.isArray(firstArg) ? firstArg : Array.isArray(secondArg) ? secondArg : []).map((source) => typeof source === 'string' ? source : source[STYLED_CLASS]);
|
|
8
8
|
return classNames.length ? clsx(classNames) : null;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/style",
|
|
3
|
-
"version": "1.15.1
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "build/main.js",
|
|
6
|
-
"types": "build/main.d.ts",
|
|
3
|
+
"version": "1.15.1",
|
|
7
4
|
"files": [
|
|
8
5
|
"build"
|
|
9
6
|
],
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "build/main.js",
|
|
9
|
+
"types": "build/main.d.ts",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "yarn g:turbo run build:cmd --filter=@voiceflow/style...",
|
|
12
12
|
"build:cmd": "yarn g:build:pkg",
|
|
13
13
|
"clean": "yarn g:rimraf build",
|
|
14
|
-
"lint": "yarn g:run-p -c lint:
|
|
15
|
-
"lint:
|
|
16
|
-
"lint:fix": "yarn g:run-p -c \"
|
|
17
|
-
"lint:
|
|
14
|
+
"lint": "yarn g:run-p -c lint:oxlint lint:oxfmt",
|
|
15
|
+
"lint:oxlint": "yarn g:oxlint .",
|
|
16
|
+
"lint:fix": "yarn g:run-p -c \"g:oxlint . --fix\" \"g:oxfmt .\"",
|
|
17
|
+
"lint:oxfmt": "yarn g:oxfmt --check .",
|
|
18
18
|
"tdd": "yarn g:vitest",
|
|
19
19
|
"test": "yarn g:run-p -c test:types test:unit test:cycles test:unused",
|
|
20
20
|
"test:cycles": "yarn g:dpdm src/main.ts",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"volta": {
|
|
46
46
|
"extends": "../../package.json"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "bc26cb5f97b0b391a56c9f3cd92e95ee83979abb"
|
|
49
49
|
}
|