sate-lib 1.0.6 → 1.0.8

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.
@@ -0,0 +1,278 @@
1
+ :root {
2
+ --box-shadow-1: 0px 1px 0px 0px rgba(17, 17, 26, 0.1);
3
+ --box-shadow-2: 0px 1px 0px rgba(17, 17, 26, 0.05),
4
+ 0px 0px 8px rgba(17, 17, 26, 0.1);
5
+ --box-shadow-3: 0px 0px 16px 0px rgba(17, 17, 26, 0.1);
6
+ --box-shadow-4: 0px 8px 32px 0px rgba(17, 17, 26, 0.05),
7
+ 0px 4px 16px 0px rgba(17, 17, 26, 0.05);
8
+ --box-shadow-5: 0px 8px 32px 0px rgba(17, 17, 26, 0.05),
9
+ 0px 4px 16px 0px rgba(17, 17, 26, 0.1);
10
+ --box-shadow-6: 0px 16px 48px 0px rgba(17, 17, 26, 0.1),
11
+ 0px 8px 24px 0px rgba(17, 17, 26, 0.1),
12
+ 0px 1px 0px 0px rgba(17, 17, 26, 0.1);
13
+ --box-shadow-7: 0px 16px 56px 0px rgba(17, 17, 26, 0.1),
14
+ 0px 8px 24px 0px rgba(17, 17, 26, 0.1),
15
+ 0px 4px 16px 0px rgba(17, 17, 26, 0.1);
16
+ --box-shadow-8: 0px 24px 80px 0px rgba(17, 17, 26, 0.1),
17
+ 0px 16px 56px 0px rgba(17, 17, 26, 0.1),
18
+ 0px 8px 24px 0px rgba(17, 17, 26, 0.1);
19
+ --opacity-disabled: 0.38;
20
+ --color-theme-core-bright: #317c6c;
21
+ --color-theme-core-dark: #b80f0f;
22
+ --color-system-content-primary: #0e0e0e;
23
+ --color-system-content-secondary: #474747;
24
+ --color-system-content-tertiary: #767676;
25
+ --color-theme-content-link: #317c6c;
26
+ --color-theme-content-link-hover: #236859;
27
+ --color-theme-content-link-active: #1d5347;
28
+ --color-theme-interactive-primary: #317c6c;
29
+ --color-theme-interactive-primary-hover: #236859;
30
+ --color-theme-interactive-primary-active: #1d5347;
31
+ --color-system-interactive-secondary: #c6c6c6;
32
+ --color-system-interactive-secondary-active: #939da0;
33
+ --color-system-interactive-secondary-hover: #aeb8bb;
34
+ --color-theme-interactive-accent: #317c6c;
35
+ --color-theme-interactive-accent-hover: #236859;
36
+ --color-theme-interactive-accent-active: #1d5347;
37
+ --color-theme-interactive-control: #ffffff;
38
+ --color-theme-interactive-control-hover: #ffffff;
39
+ --color-theme-interactive-control-active: #ffffff;
40
+ --color-theme-interactive-contrast: #002c5b;
41
+ --color-theme-interactive-contrast-hover: #081b36;
42
+ --color-theme-interactive-contrast-active: #0e0f0c;
43
+ --color-system-border-neutral: #efefef;
44
+ --color-system-border-overlay: rgba(14, 15, 12, 0.12);
45
+ --color-theme-background-screen: #f5f7f7;
46
+ --color-theme-background-screen-hover: rgba(55, 53, 53, 0.04);
47
+ --color-theme-background-screen-active: rgba(55, 53, 53, 0.08);
48
+ --color-theme-background-elevated: #ffffff;
49
+ --color-theme-background-neutral: rgba(55, 53, 53, 0.04);
50
+ --color-theme-background-neutral-hover: rgba(55, 53, 53, 0.08);
51
+ --color-theme-background-neutral-active: rgba(55, 53, 53, 0.12);
52
+ --color-theme-background-overlay: rgba(55, 53, 53, 0.08);
53
+ --color-system-sentiment-negative: #b4280c;
54
+ --color-system-sentiment-warning: #ffcc00;
55
+ --color-system-sentiment-positive: #006e37;
56
+ --color-system-color-contrast: #ffffff;
57
+ --color-system-color-light: #ffffff;
58
+ --color-system-color-dark: #121511;
59
+ --color-system-color-contrast-overlay: #ffffff;
60
+ --color-system-color-contrast-theme: #121511;
61
+ --color-system-background-negative: rgba(255, 191, 189, 0.12);
62
+ --color-theme-background-input: #ffffff;
63
+ --color-system-sentiment-negative-hover: #950000;
64
+ --color-system-sentiment-negative-active: #850000;
65
+ --color-system-black: #000000;
66
+ --color-system-white: #ffffff;
67
+ --color-theme-accent: #b80f0f;
68
+ --color-theme-accent-hover: #a90d0d;
69
+ --color-theme-accent-active: #8b0c0c;
70
+ --color-theme-background-demo: #ff4d00;
71
+ --color-theme-background-demo-hover: rgba(255, 77, 0, 0.06);
72
+ --color-theme-background-demo-active: rgba(255, 77, 0, 0.09);
73
+ --color-system-user-red-light: #fff4ee;
74
+ --color-system-user-red-mid: #ffa98f;
75
+ --color-system-user-red-dark: #d40000;
76
+ --color-system-user-orange-dark: #a53e00;
77
+ --color-system-user-orange-mid: #ffc950;
78
+ --color-system-user-orange-light: #fff6e8;
79
+ --color-system-user-yellow-dark: #7b5a00;
80
+ --color-system-user-yellow-mid: #ffdd3a;
81
+ --color-system-user-yellow-light: #fff8e6;
82
+ --color-system-user-green-dark: #007500;
83
+ --color-system-user-green-mid: #7bfe7b;
84
+ --color-system-user-green-light: #effded;
85
+ --color-system-user-mint-dark: #255d3a;
86
+ --color-system-user-mint-mid: #d1f4de;
87
+ --color-system-user-mint-light: #e9fff1;
88
+ --color-system-user-cyan-dark: #007cd5;
89
+ --color-system-user-cyan-mid: #77e2ff;
90
+ --color-system-user-cyan-light: #f3f9ff;
91
+ --color-system-user-blue-dark: #005bff;
92
+ --color-system-user-blue-mid: #a5dcff;
93
+ --color-system-user-blue-light: #f6f8ff;
94
+ --color-system-user-indigo-dark: #7530df;
95
+ --color-system-user-indigo-mid: #e2ceff;
96
+ --color-system-user-indigo-light: #fbf7ff;
97
+ --color-system-user-purple-dark: #354682;
98
+ --color-system-user-purple-mid: #d4deff;
99
+ --color-system-user-purple-light: #ecf0ff;
100
+ --color-system-user-brown-dark: #954c00;
101
+ --color-system-user-brown-mid: #ffd244;
102
+ --color-system-user-brown-light: #fff7e7;
103
+ --color-system-user-pink-dark: #65203a;
104
+ --color-system-user-pink-mid: #fad9da;
105
+ --color-system-user-pink-light: #fff0f0;
106
+ --color-system-user-grey-dark: #5e5e5e;
107
+ --color-system-user-grey-mid: #e2e2e2;
108
+ --color-system-user-grey-light: #f9f9f9;
109
+ --color-system-modal-overlay: rgba(0, 0, 0, 0.5);
110
+ --radius-radii-10: 0.625rem;
111
+ --radius-radii-16: 1rem;
112
+ --radius-radii-24: 1.5rem;
113
+ --radius-radii-full: 62.5rem;
114
+ --radius-radii-32: 2rem;
115
+ --radius-radii-40: 2.5rem;
116
+ --radius-radii-64: 4rem;
117
+ --radius-radii-8: 0.5rem;
118
+ --radius-radii-4: 0.25rem;
119
+ --radius-radii-12: 0.75rem;
120
+ --radius-button: 0.25rem;
121
+ --radius-input: 0.25rem;
122
+ --radius-small-container: 0.5rem;
123
+ --radius-large-container: 1rem;
124
+ --radius-chip: 0.5rem;
125
+ --radius-medium-container: 0.75rem;
126
+ --typeface-theme: "Bebas Neue";
127
+ --typeface-system: Inter;
128
+ --typescale-display-large-font: "Bebas Neue";
129
+ --typescale-display-medium-font: "Bebas Neue";
130
+ --typescale-display-small-font: "Bebas Neue";
131
+ --typescale-title-screen-font: "Bebas Neue";
132
+ --typescale-title-section-font: Inter;
133
+ --typescale-title-subsection-font: Inter;
134
+ --typescale-title-body-font: Inter;
135
+ --typescale-title-group-font: Inter;
136
+ --typescale-body-large-font: Inter;
137
+ --typescale-body-large-emphasis-font: Inter;
138
+ --typescale-body-default-font: Inter;
139
+ --typescale-body-default-emphasis-font: Inter;
140
+ --typescale-body-small-font: Inter;
141
+ --typescale-body-small-emphasis-font: Inter;
142
+ --typescale-link-large-font: Inter;
143
+ --typescale-link-default-font: Inter;
144
+ --typescale-text-field-font: Inter;
145
+ --typescale-display-large-font-size: 6rem;
146
+ --typescale-display-medium-font-size: 4rem;
147
+ --typescale-display-small-font-size: 2.5rem;
148
+ --typescale-title-screen-font-size: 2.5rem;
149
+ --typescale-title-section-font-size: 1.625rem;
150
+ --typescale-title-subsection-font-size: 1.375rem;
151
+ --typescale-title-body-font-size: 1.125rem;
152
+ --typescale-title-group-font-size: 0.875rem;
153
+ --typescale-body-large-font-size: 1rem;
154
+ --typescale-body-large-emphasis-font-size: 1rem;
155
+ --typescale-body-default-font-size: 0.875rem;
156
+ --typescale-body-default-emphasis-font-size: 0.875rem;
157
+ --typescale-body-small-font-size: 0.75rem;
158
+ --typescale-body-small-emphasis-font-size: 0.75rem;
159
+ --typescale-link-large-font-size: 1rem;
160
+ --typescale-link-default-font-size: 0.875rem;
161
+ --typescale-text-field-font-size: 1rem;
162
+ --typeface-weight-regular: 400;
163
+ --typeface-weight-medium: 500;
164
+ --typeface-weight-semi-bold: 600;
165
+ --typeface-weight-bold: 700;
166
+ --typescale-display-large-weight: 400;
167
+ --typescale-display-medium-weight: 400;
168
+ --typescale-display-small-weight: 400;
169
+ --typescale-title-screen-weight: 400;
170
+ --typescale-title-section-weight: 600;
171
+ --typescale-title-subsection-weight: 600;
172
+ --typescale-title-body-weight: 600;
173
+ --typescale-title-group-weight: 500;
174
+ --typescale-body-large-weight: 400;
175
+ --typescale-body-large-emphasis-weight: 600;
176
+ --typescale-body-default-weight: 400;
177
+ --typescale-body-default-emphasis-weight: 600;
178
+ --typescale-body-small-weight: 400;
179
+ --typescale-body-small-emphasis-weight: 500;
180
+ --typescale-link-large-weight: 600;
181
+ --typescale-link-default-weight: 600;
182
+ --typescale-text-field-weight: 400;
183
+ --typescale-display-large-letter-spacing: 0;
184
+ --typescale-display-medium-letter-spacing: 0;
185
+ --typescale-display-small-letter-spacing: 0;
186
+ --typescale-title-screen-letter-spacing: 0;
187
+ --typescale-title-section-letter-spacing: -0.02500000037252903rem;
188
+ --typescale-title-subsection-letter-spacing: -0.01875000074505806rem;
189
+ --typescale-title-body-letter-spacing: -0.012500000186264515rem;
190
+ --typescale-title-group-letter-spacing: -0.0062500000931322575rem;
191
+ --typescale-body-large-letter-spacing: -0.012500000186264515rem;
192
+ --typescale-body-large-emphasis-letter-spacing: -0.012500000186264515rem;
193
+ --typescale-body-default-letter-spacing: 0;
194
+ --typescale-body-default-emphasis-letter-spacing: 0;
195
+ --typescale-body-small-letter-spacing: -0.012500000186264515rem;
196
+ --typescale-body-small-emphasis-letter-spacing: -0.012500000186264515rem;
197
+ --typescale-link-large-letter-spacing: -0.012500000186264515rem;
198
+ --typescale-link-default-letter-spacing: 0;
199
+ --typescale-text-field-letter-spacing: -0.012500000186264515rem;
200
+ --typescale-display-large-line-height: 5.125rem;
201
+ --typescale-display-medium-line-height: 3.375rem;
202
+ --typescale-display-small-line-height: 2.125rem;
203
+ --typescale-title-screen-line-height: 2.125rem;
204
+ --typescale-title-section-line-height: 2rem;
205
+ --typescale-title-subsection-line-height: 1.75rem;
206
+ --typescale-title-body-line-height: 1.5rem;
207
+ --typescale-title-group-line-height: 1.25rem;
208
+ --typescale-body-large-line-height: 1.5rem;
209
+ --typescale-body-large-emphasis-line-height: 1.5rem;
210
+ --typescale-body-default-line-height: 1.375rem;
211
+ --typescale-body-default-emphasis-line-height: 1.375rem;
212
+ --typescale-body-small-line-height: 1rem;
213
+ --typescale-body-small-emphasis-line-height: 1rem;
214
+ --typescale-link-large-line-height: 1.5rem;
215
+ --typescale-link-default-line-height: 1.375rem;
216
+ --typescale-text-field-line-height: 1.25rem;
217
+ --spacing-size-4: 0.25rem;
218
+ --spacing-size-8: 0.5rem;
219
+ --spacing-size-12: 0.75rem;
220
+ --spacing-size-16: 1rem;
221
+ --spacing-size-24: 1.5rem;
222
+ --spacing-size-32: 2rem;
223
+ --spacing-size-40: 2.5rem;
224
+ --spacing-size-48: 3rem;
225
+ --spacing-size-56: 3.5rem;
226
+ --spacing-size-64: 4rem;
227
+ --spacing-size-72: 4.5rem;
228
+ --spacing-size-80: 5rem;
229
+ --spacing-size-88: 5.5rem;
230
+ --spacing-size-96: 6rem;
231
+ --spacing-size-104: 6.5rem;
232
+ --spacing-size-112: 7rem;
233
+ --spacing-size-120: 7.5rem;
234
+ --spacing-size-128: 8rem;
235
+ --spacing-size-146: 9.125rem;
236
+ --spacing-size-154: 9.625rem;
237
+ --spacing-size-0: 0;
238
+ --padding-x-small: 0.5rem;
239
+ --padding-small: 1rem;
240
+ --padding-medium: 1.5rem;
241
+ --padding-large: 2rem;
242
+ --size-x-small: 1.5rem;
243
+ --size-medium: 2.5rem;
244
+ --size-large: 3rem;
245
+ --size-x-large: 3.5rem;
246
+ --size-small: 2rem;
247
+ --size-2x-large: 4.5rem;
248
+ --size-2x-small: 1rem;
249
+ --spacing-column-gap-cards: 0.75rem;
250
+ --spacing-column-gap-chips: 0.5rem;
251
+ --spacing-column-margin-screen-mobile: 1.5rem;
252
+ --spacing-column-gap-default: 1rem;
253
+ --spacing-row-gap-text: 0.5rem;
254
+ --spacing-row-gap-image-bottom: 0.5rem;
255
+ --spacing-row-gap-display-text-bottom: 1rem;
256
+ --spacing-row-gap-text-to-component: 1rem;
257
+ --spacing-row-gap-content-to-button: 1.5rem;
258
+ --spacing-row-gap-sections: 2rem;
259
+ --spacing-row-gap-default: 1rem;
260
+ --spacing-row-gap-options: 0;
261
+ --spacing-row-gap-fields: 1rem;
262
+ --spacing-column-gap-fields: 0.5rem;
263
+ --spacing-column-gap-words: 0.25rem;
264
+ --typescale-title-screen-paragraph-spacing: 0.5rem;
265
+ --typescale-title-section-paragraph-spacing: 0.5rem;
266
+ --typescale-title-subsection-paragraph-spacing: 0.5rem;
267
+ --typescale-title-body-paragraph-spacing: 0.5rem;
268
+ --typescale-title-group-paragraph-spacing: 0.5rem;
269
+ --typescale-body-large-paragraph-spacing: 0.5rem;
270
+ --typescale-body-large-emphasis-paragraph-spacing: 0.5rem;
271
+ --typescale-body-default-paragraph-spacing: 0.5rem;
272
+ --typescale-body-default-emphasis-paragraph-spacing: 0.5rem;
273
+ --typescale-body-small-paragraph-spacing: 0.5rem;
274
+ --typescale-body-small-emphasis-paragraph-spacing: 0.5rem;
275
+ --typescale-link-large-paragraph-spacing: 0.5rem;
276
+ --typescale-link-default-paragraph-spacing: 0.5rem;
277
+ --typescale-text-field-paragraph-spacing: 0.5rem;
278
+ }
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import "./badge.styles.scss";
3
+ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
4
+ children: ReactNode;
5
+ }
6
+ export declare function Badge({ className, children, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/react-vite";
2
+ import { Badge } from "./badge";
3
+ declare const meta: Meta<typeof Badge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import "./test.styles.scss";
3
+ export interface TestProps extends HTMLAttributes<HTMLSpanElement> {
4
+ children: ReactNode;
5
+ }
6
+ export declare function Test({ className, children, ...props }: TestProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/react-vite";
2
+ import { Test } from "./test";
3
+ declare const meta: Meta<typeof Test>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,3 @@
1
+ import "./assets/styles/base.scss";
2
+ export { Badge } from "./components/badge/badge";
3
+ export { Test } from "./components/test/test";
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import "./badge.styles.scss";
3
+ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
4
+ children: ReactNode;
5
+ }
6
+ export declare function Badge({ className, children, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ import "./test.styles.scss";
3
+ export interface TestProps extends HTMLAttributes<HTMLSpanElement> {
4
+ children: ReactNode;
5
+ }
6
+ export declare function Test({ className, children, ...props }: TestProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import "./assets/styles/base.scss";
2
+ export { Badge } from "./components/badge/badge";
3
+ export { Test } from "./components/test/test";
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "sate-lib",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "author": "Tiago Sousa (tiagorsousa0@gmail.com)",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "main": "./dist/index.cjs.js",
8
- "module": "./dist/index.esm.js",
9
- "types": "./dist/index.d.ts",
10
- "css": "./dist/sate-lib.css",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.js",
9
+ "css": "dist/assets/styles/index.css",
10
+ "types": "dist/types/index.d.ts",
11
+ "files": [
12
+ "dist/"
13
+ ],
11
14
  "scripts": {
12
15
  "dev": "storybook dev -p 6006",
13
16
  "lint": "eslint ./src",
14
17
  "prepare": "husky",
15
18
  "build": "pnpm build:package && pnpm build:storybook",
16
- "build:package": "rollup --config rollup.config.mjs",
19
+ "build:package": "rollup --config rollup.config.ts --configPlugin typescript",
17
20
  "build:storybook": "storybook build"
18
21
  },
19
- "files": [
20
- "dist"
21
- ],
22
22
  "keywords": [
23
23
  "design-system",
24
24
  "react",
@@ -42,8 +42,6 @@
42
42
  "@commitlint/cli": "19.8.0",
43
43
  "@commitlint/config-conventional": "19.8.0",
44
44
  "@eslint/js": "^9.25.0",
45
- "@rollup/plugin-commonjs": "^28.0.6",
46
- "@rollup/plugin-node-resolve": "^16.0.1",
47
45
  "@storybook/addon-a11y": "^9.0.11",
48
46
  "@storybook/addon-docs": "^9.0.11",
49
47
  "@storybook/builder-vite": "^9.0.11",
@@ -57,16 +55,22 @@
57
55
  "eslint-plugin-storybook": "^9.0.11",
58
56
  "globals": "^16.0.0",
59
57
  "husky": "^9.1.7",
60
- "rollup-plugin-copy": "^3.5.0",
61
- "rollup-plugin-dts": "^6.2.1",
62
- "rollup-plugin-esbuild": "^6.2.1",
63
- "rollup-plugin-postcss": "^4.0.2",
64
58
  "storybook": "^9.0.11",
65
59
  "typescript": "~5.8.3",
66
60
  "typescript-eslint": "^8.30.1",
67
61
  "vite": "^6.3.5",
68
62
  "vite-plugin-dynamic-import": "^1.6.0",
69
- "vite-plugin-svgr": "^4.3.0"
63
+ "vite-plugin-svgr": "^4.3.0",
64
+ "@rollup/plugin-terser": "0.4.4",
65
+ "@rollup/plugin-typescript": "12.1.3",
66
+ "@rollup/plugin-babel": "^6.0.4",
67
+ "@rollup/plugin-commonjs": "28.0.6",
68
+ "@rollup/plugin-node-resolve": "16.0.1",
69
+ "@svgr/rollup": "^8.1.0",
70
+ "rollup": "4.44.0",
71
+ "rollup-plugin-copy": "^3.5.0",
72
+ "rollup-plugin-sass": "1.15.3",
73
+ "rollup-plugin-visualizer": "6.0.3"
70
74
  },
71
75
  "peerDependencies": {
72
76
  "react": "^19.1.0",
package/dist/index.cjs.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";var u=require("react/jsx-runtime");function p(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i={exports:{}};/*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */var c;function d(){return c||(c=1,function(t){(function(){var a={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var s=arguments[r];s&&(e=o(e,l(s)))}return e}function l(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var s in e)a.call(e,s)&&e[s]&&(r=o(r,s));return r}function o(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()}(i)),i.exports}var m=d(),f=p(m);function h({className:t,children:a,...n}){return u.jsx("span",{className:f(t,"c-badge"),...n,children:a})}function v({className:t,children:a,...n}){return u.jsx("span",{className:f(t,"c-test"),...n,children:a})}exports.Badge=h,exports.Test=v;
6
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js","../src/components/badge/badge.tsx","../src/components/test/test.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import type { HTMLAttributes, ReactNode } from \"react\";\nimport classNames from \"classnames\";\nimport \"./badge.styles.scss\";\n\nexport interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {\n children: ReactNode;\n}\n\nexport function Badge({ className, children, ...props }: BadgeProps) {\n return (\n <span className={classNames(className, \"c-badge\")} {...props}>\n {children}\n </span>\n );\n}\n","import type { HTMLAttributes, ReactNode } from \"react\";\nimport classNames from \"classnames\";\nimport \"./test.styles.scss\";\n\nexport interface TestProps extends HTMLAttributes<HTMLSpanElement> {\n children: ReactNode;\n}\n\nexport function Test({ className, children, ...props }: TestProps) {\n return (\n <span className={classNames(className, \"c-test\")} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module","Badge","className","children","props","jsx","Test"],"mappings":";;;;iDAOC,UAAY,CAGZ,IAAIA,EAAS,CAAA,EAAG,eAEhB,SAASC,GAAc,CAGtB,QAFIC,EAAU,GAELC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAC1C,IAAIC,EAAM,UAAUD,CAAC,EACjBC,IACHF,EAAUG,EAAYH,EAASI,EAAWF,CAAG,CAAC,EAElD,CAEE,OAAOF,CACT,CAEC,SAASI,EAAYF,EAAK,CACzB,GAAI,OAAOA,GAAQ,UAAY,OAAOA,GAAQ,SAC7C,OAAOA,EAGR,GAAI,OAAOA,GAAQ,SAClB,MAAO,GAGR,GAAI,MAAM,QAAQA,CAAG,EACpB,OAAOH,EAAW,MAAM,KAAMG,CAAG,EAGlC,GAAIA,EAAI,WAAa,OAAO,UAAU,UAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe,EAClG,OAAOA,EAAI,SAAU,EAGtB,IAAIF,EAAU,GAEd,QAASK,KAAOH,EACXJ,EAAO,KAAKI,EAAKG,CAAG,GAAKH,EAAIG,CAAG,IACnCL,EAAUG,EAAYH,EAASK,CAAG,GAIpC,OAAOL,CACT,CAEC,SAASG,EAAaG,EAAOC,EAAU,CACtC,OAAKA,EAIDD,EACIA,EAAQ,IAAMC,EAGfD,EAAQC,EAPPD,CAQV,CAEsCE,EAAO,SAC3CT,EAAW,QAAUA,EACrBS,UAAiBT,GAOjB,OAAO,WAAaA,CAEtB,qCCpEO,SAASU,EAAM,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,CAAM,EAAe,CACnE,OACEC,EAAC,IAAA,OAAA,CAAK,UAAWd,EAAWW,EAAW,SAAS,EAAI,GAAGE,EACpD,SAAAD,EACH,CAEJ,CCNO,SAASG,EAAK,CAAE,UAAAJ,EAAW,SAAAC,EAAU,GAAGC,CAAM,EAAc,CACjE,OACEC,EAAC,IAAA,OAAA,CAAK,UAAWd,EAAWW,EAAW,QAAQ,EAAI,GAAGE,EACnD,SAAAD,EACH,CAEJ","x_google_ignoreList":[0]}
package/dist/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { HTMLAttributes, ReactNode } from 'react';
3
-
4
- interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
5
- children: ReactNode;
6
- }
7
- declare function Badge({ className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
8
-
9
- interface TestProps extends HTMLAttributes<HTMLSpanElement> {
10
- children: ReactNode;
11
- }
12
- declare function Test({ className, children, ...props }: TestProps): react_jsx_runtime.JSX.Element;
13
-
14
- export { Badge, Test };
package/dist/index.esm.js DELETED
@@ -1,6 +0,0 @@
1
- import{jsx as c}from"react/jsx-runtime";function p(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o={exports:{}};/*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */var u;function m(){return u||(u=1,function(t){(function(){var a={}.hasOwnProperty;function n(){for(var r="",e=0;e<arguments.length;e++){var s=arguments[e];s&&(r=i(r,l(s)))}return r}function l(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var s in r)a.call(r,s)&&r[s]&&(e=i(e,s));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(n.default=n,t.exports=n):window.classNames=n})()}(o)),o.exports}var d=m(),f=p(d);function h({className:t,children:a,...n}){return c("span",{className:f(t,"c-badge"),...n,children:a})}function v({className:t,children:a,...n}){return c("span",{className:f(t,"c-test"),...n,children:a})}export{h as Badge,v as Test};
6
- //# sourceMappingURL=index.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.js","sources":["../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js","../src/components/badge/badge.tsx","../src/components/test/test.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import type { HTMLAttributes, ReactNode } from \"react\";\nimport classNames from \"classnames\";\nimport \"./badge.styles.scss\";\n\nexport interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {\n children: ReactNode;\n}\n\nexport function Badge({ className, children, ...props }: BadgeProps) {\n return (\n <span className={classNames(className, \"c-badge\")} {...props}>\n {children}\n </span>\n );\n}\n","import type { HTMLAttributes, ReactNode } from \"react\";\nimport classNames from \"classnames\";\nimport \"./test.styles.scss\";\n\nexport interface TestProps extends HTMLAttributes<HTMLSpanElement> {\n children: ReactNode;\n}\n\nexport function Test({ className, children, ...props }: TestProps) {\n return (\n <span className={classNames(className, \"c-test\")} {...props}>\n {children}\n </span>\n );\n}\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module","Badge","className","children","props","jsx","Test"],"mappings":";;;;iDAOC,UAAY,CAGZ,IAAIA,EAAS,CAAA,EAAG,eAEhB,SAASC,GAAc,CAGtB,QAFIC,EAAU,GAELC,EAAI,EAAGA,EAAI,UAAU,OAAQA,IAAK,CAC1C,IAAIC,EAAM,UAAUD,CAAC,EACjBC,IACHF,EAAUG,EAAYH,EAASI,EAAWF,CAAG,CAAC,EAElD,CAEE,OAAOF,CACT,CAEC,SAASI,EAAYF,EAAK,CACzB,GAAI,OAAOA,GAAQ,UAAY,OAAOA,GAAQ,SAC7C,OAAOA,EAGR,GAAI,OAAOA,GAAQ,SAClB,MAAO,GAGR,GAAI,MAAM,QAAQA,CAAG,EACpB,OAAOH,EAAW,MAAM,KAAMG,CAAG,EAGlC,GAAIA,EAAI,WAAa,OAAO,UAAU,UAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe,EAClG,OAAOA,EAAI,SAAU,EAGtB,IAAIF,EAAU,GAEd,QAASK,KAAOH,EACXJ,EAAO,KAAKI,EAAKG,CAAG,GAAKH,EAAIG,CAAG,IACnCL,EAAUG,EAAYH,EAASK,CAAG,GAIpC,OAAOL,CACT,CAEC,SAASG,EAAaG,EAAOC,EAAU,CACtC,OAAKA,EAIDD,EACIA,EAAQ,IAAMC,EAGfD,EAAQC,EAPPD,CAQV,CAEsCE,EAAO,SAC3CT,EAAW,QAAUA,EACrBS,UAAiBT,GAOjB,OAAO,WAAaA,CAEtB,qCCpEO,SAASU,EAAM,CAAE,UAAAC,EAAW,SAAAC,EAAU,GAAGC,CAAM,EAAe,CACnE,OACEC,EAAC,OAAA,CAAK,UAAWd,EAAWW,EAAW,SAAS,EAAI,GAAGE,EACpD,SAAAD,EACH,CAEJ,CCNO,SAASG,EAAK,CAAE,UAAAJ,EAAW,SAAAC,EAAU,GAAGC,CAAM,EAAc,CACjE,OACEC,EAAC,OAAA,CAAK,UAAWd,EAAWW,EAAW,QAAQ,EAAI,GAAGE,EACnD,SAAAD,EACH,CAEJ","x_google_ignoreList":[0]}
package/dist/sate-lib.css DELETED
@@ -1,2 +0,0 @@
1
- *,:after,:before{box-sizing:border-box}*{margin:0;outline:none;padding:0}ol,ul{list-style:none}html:focus-within{scroll-behavior:smooth}a:not([class]){color:inherit;text-decoration-skip-ink:auto}canvas,img,picture,svg,video{background-repeat:no-repeat;background-size:cover;height:auto;max-width:100%;vertical-align:middle}button,input,select,textarea{background:none;border:none;color:inherit;font:inherit;outline:none}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;transition:none}}body,html{height:100%;scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}button{cursor:pointer}html{--zindex-input:1;--zindex-input-hover:2;--zindex-input-focus:3;--zindex-input-active:4;--zindex-input-clear-button:5;--zindex-modal:50}@font-face{font-family:Bebas Neue;font-weight:400;src:url(../../assets/fonts/bebas-neue-v14-latin-regular.woff2) format("woff2")}.c-badge{background:var(--color-theme-background-neutral,rgba(5,48,91,.04));border:1px solid var(--color-system-border-neutral,rgba(14,15,12,.04));border-radius:.25rem;color:var(--color-system-content-secondary,#474747);padding:var(--spacing-size-4,.25rem) var(--spacing-size-8,.5rem)}.c-test{border-radius:.25rem}
2
- /*# sourceMappingURL=sate-lib.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["base.scss","badge.styles.scss","test.styles.scss"],"names":[],"mappings":"AAAA,iBAGE,qBACF,CAEA,EACE,QAAS,CAET,YAAa,CADb,SAEF,CAEA,MAEE,eACF,CAEA,kBACE,sBACF,CAEA,eAEE,aAAc,CADd,6BAEF,CAEA,6BAQE,2BAA4B,CAC5B,qBAAsB,CAHtB,WAAY,CADZ,cAAe,CAEf,qBAGF,CAEA,6BAOE,eAAgB,CADhB,WAAY,CADZ,aAAc,CADd,YAAa,CAIb,YACF,CAEA,uCACE,kBACE,oBACF,CACA,iBAGE,kCAAqC,CACrC,qCAAuC,CAEvC,8BAAgC,CADhC,mCAAsC,CAEtC,eACF,CACF,CACA,UAEE,WAAY,CACZ,sBACF,CAEA,KACE,kCACF,CAEA,oBAOE,wBACF,CAEA,OACE,cACF,CAEA,KACE,gBAAiB,CACjB,sBAAuB,CACvB,sBAAuB,CACvB,uBAAwB,CACxB,6BAA8B,CAC9B,iBACF,CAEA,WACE,sBAAyB,CACzB,eAAgB,CAChB,8EACF,CCpGA,SAKE,kEAAwE,CADxE,sEAA4E,CAD5E,oBAAsB,CADtB,mDAAqD,CADrD,gEAKF,CCNA,QACE,oBACF","file":"sate-lib.css","sourcesContent":["*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n* {\n margin: 0;\n padding: 0;\n outline: none;\n}\n\nul,\nol {\n list-style: none;\n}\n\nhtml:focus-within {\n scroll-behavior: smooth;\n}\n\na:not([class]) {\n text-decoration-skip-ink: auto;\n color: inherit;\n}\n\nimg,\npicture,\nsvg,\nvideo,\ncanvas {\n max-width: 100%;\n height: auto;\n vertical-align: middle;\n background-repeat: no-repeat;\n background-size: cover;\n}\n\ninput,\nbutton,\ntextarea,\nselect {\n font: inherit;\n color: inherit;\n border: none;\n background: none;\n outline: none;\n}\n\n@media (prefers-reduced-motion: reduce) {\n html:focus-within {\n scroll-behavior: auto;\n }\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n transition: none;\n }\n}\nbody,\nhtml {\n height: 100%;\n scroll-behavior: smooth;\n}\n\nbody {\n -webkit-font-smoothing: antialiased;\n}\n\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n overflow-wrap: break-word;\n}\n\nbutton {\n cursor: pointer;\n}\n\nhtml {\n --zindex-input: 1;\n --zindex-input-hover: 2;\n --zindex-input-focus: 3;\n --zindex-input-active: 4;\n --zindex-input-clear-button: 5;\n --zindex-modal: 50;\n}\n\n@font-face {\n font-family: \"Bebas Neue\";\n font-weight: 400;\n src: url(\"../../assets/fonts/bebas-neue-v14-latin-regular.woff2\") format(\"woff2\");\n}",".c-badge {\n padding: var(--spacing-size-4, 0.25rem) var(--spacing-size-8, 0.5rem);\n color: var(--color-system-content-secondary, #474747);\n border-radius: 0.25rem;\n border: 1px solid var(--color-system-border-neutral, rgba(14, 15, 12, 0.04));\n background: var(--color-theme-background-neutral, rgba(5, 48, 91, 0.04));\n}",".c-test {\n border-radius: 0.25rem;\n}"]}