@max-ts/svelte 0.5.0 → 1.0.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.
@@ -125,4 +125,76 @@
125
125
  .iconSmall__16himhad {
126
126
  height: var(--spacing-7);
127
127
  width: var(--spacing-7);
128
+ }
129
+ *, *::before, *::after {
130
+ box-sizing: border-box;
131
+ }
132
+ body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
133
+ margin: 0;
134
+ }
135
+ ul[role="list"], ol[role="list"] {
136
+ padding: 0;
137
+ }
138
+ ul, ol {
139
+ list-style: none;
140
+ margin: 0;
141
+ padding: 0;
142
+ }
143
+ li {
144
+ padding: 0;
145
+ margin: 0;
146
+ list-style-type: none;
147
+ }
148
+ body {
149
+ line-height: 1.5;
150
+ font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
151
+ -webkit-font-smoothing: antialiased;
152
+ color: var(--colors-text-primary);
153
+ background-color: var(--colors-background-paper);
154
+ }
155
+ h1, h2, h3, h4, h5, h6 {
156
+ font-size: inherit;
157
+ font-weight: inherit;
158
+ }
159
+ button, input, textarea, select {
160
+ font: inherit;
161
+ color: inherit;
162
+ background: none;
163
+ border: none;
164
+ padding: 0;
165
+ margin: 0;
166
+ outline: none;
167
+ }
168
+ button {
169
+ cursor: pointer;
170
+ }
171
+ a {
172
+ text-decoration: none;
173
+ color: inherit;
174
+ }
175
+ img, picture, video, canvas {
176
+ display: block;
177
+ max-width: 100%;
178
+ height: auto;
179
+ }
180
+ *::-webkit-scrollbar {
181
+ width: 6px;
182
+ height: 6px;
183
+ }
184
+ *::-webkit-scrollbar-track {
185
+ background-color: transparent;
186
+ }
187
+ *::-webkit-scrollbar-thumb {
188
+ background-color: color-mix(in oklch, var(--colors-primary) 60%, transparent);
189
+ border-radius: var(--borderRadius-sm);
190
+ width: 6px;
191
+ height: 6px;
192
+ }
193
+ @media (prefers-reduced-motion: reduce) {
194
+ *, *::before, *::after {
195
+ animation-duration: 0.01ms !important;
196
+ animation-iteration-count: 1 !important;
197
+ transition-duration: 0.01ms !important;
198
+ scroll-behavior: auto;
199
+ }
128
200
  }
@@ -1 +1 @@
1
- import"./../../assets/theme.css.ts.vanilla-BHlWyczr.css";import"./../../assets/styles.css.ts.vanilla-BQjMxTJ2.css";var e={default:`default__16himha4 style__16himha0`,destructive:`destructive__16himha5 style__16himha0`,outline:`outline__16himha6 style__16himha0`,ghost:`ghost__16himha7 style__16himha0`,link:`link__16himha8 style__16himha0`},t={buttonSizes:{small:`small__16himha9`,medium:`medium__16himhaa`,large:`large__16himhab`,icon:`icon__16himhac`,iconSmall:`iconSmall__16himhad`},buttonVariants:e,fullWidth:`style__16himha3`,loading:`style__16himha2`};export{e as buttonVariants,t as default};
1
+ import"./../../assets/theme.css.ts.vanilla-BHlWyczr.css";import"./../../assets/styles.css.ts.vanilla-DQ6SpJ5K.css";var e={default:`default__16himha4 style__16himha0`,destructive:`destructive__16himha5 style__16himha0`,outline:`outline__16himha6 style__16himha0`,ghost:`ghost__16himha7 style__16himha0`,link:`link__16himha8 style__16himha0`},t={buttonSizes:{small:`small__16himha9`,medium:`medium__16himhaa`,large:`large__16himhab`,icon:`icon__16himhac`,iconSmall:`iconSmall__16himhad`},buttonVariants:e,fullWidth:`style__16himha3`,loading:`style__16himha2`};export{e as buttonVariants,t as default};
@@ -1,5 +1,4 @@
1
1
  export { createTheme, globalKeyframes, globalStyle, keyframes, style, styleVariants, } from '@vanilla-extract/css';
2
- export * from './reset.css.js';
3
2
  export * from './theme.css.js';
4
3
  export * from './types.js';
5
4
  export * from './utils.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@max-ts/svelte",
3
- "version": "0.5.0",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "Svelte component library.",
6
6
  "author": "Tsepelev Maksim",
@@ -1 +0,0 @@
1
- export {};