@vinyasa/button 1.0.5 → 1.0.6

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.
@@ -1,5 +1,286 @@
1
1
  "use strict";
2
- var __webpack_require__ = {};
2
+ var __webpack_modules__ = {
3
+ 169 (module, __webpack_exports__, __webpack_require__) {
4
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__(586);
5
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
6
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__(115);
7
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
8
+ var ___CSS_LOADER_EXPORT___ = _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
9
+ ___CSS_LOADER_EXPORT___.push([
10
+ module.id,
11
+ `._1bwnrav0 {
12
+ color: #fff;
13
+ cursor: pointer;
14
+ background-color: #111827;
15
+ border: none;
16
+ border-radius: 9999px;
17
+ padding: .625rem 1rem;
18
+ font-size: .875rem;
19
+ font-weight: 600;
20
+ line-height: 1;
21
+ transition: transform .15s, opacity .15s;
22
+ }
23
+
24
+ ._1bwnrav0:hover {
25
+ opacity: .92;
26
+ }
27
+
28
+ ._1bwnrav0:active {
29
+ transform: translateY(1px);
30
+ }
31
+
32
+ ._1bwnrav0:focus-visible {
33
+ outline-offset: 2px;
34
+ outline: 2px solid #2563eb;
35
+ }
36
+ `,
37
+ ""
38
+ ]);
39
+ const __rspack_default_export = ___CSS_LOADER_EXPORT___;
40
+ __webpack_require__.d(__webpack_exports__, {}, {
41
+ A: __rspack_default_export
42
+ });
43
+ },
44
+ 115 (module) {
45
+ module.exports = function(cssWithMappingToString) {
46
+ var list = [];
47
+ list.toString = function() {
48
+ return this.map(function(item) {
49
+ var content = "";
50
+ var needLayer = void 0 !== item[5];
51
+ if (item[4]) content += "@supports (".concat(item[4], ") {");
52
+ if (item[2]) content += "@media ".concat(item[2], " {");
53
+ if (needLayer) content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
54
+ content += cssWithMappingToString(item);
55
+ if (needLayer) content += "}";
56
+ if (item[2]) content += "}";
57
+ if (item[4]) content += "}";
58
+ return content;
59
+ }).join("");
60
+ };
61
+ list.i = function(modules, media, dedupe, supports, layer) {
62
+ if ("string" == typeof modules) modules = [
63
+ [
64
+ null,
65
+ modules,
66
+ void 0
67
+ ]
68
+ ];
69
+ var alreadyImportedModules = {};
70
+ if (dedupe) for(var k = 0; k < this.length; k++){
71
+ var id = this[k][0];
72
+ if (null != id) alreadyImportedModules[id] = true;
73
+ }
74
+ for(var _k = 0; _k < modules.length; _k++){
75
+ var item = [].concat(modules[_k]);
76
+ if (!dedupe || !alreadyImportedModules[item[0]]) {
77
+ if (void 0 !== layer) if (void 0 === item[5]) item[5] = layer;
78
+ else {
79
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
80
+ item[5] = layer;
81
+ }
82
+ if (media) if (item[2]) {
83
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
84
+ item[2] = media;
85
+ } else item[2] = media;
86
+ if (supports) if (item[4]) {
87
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
88
+ item[4] = supports;
89
+ } else item[4] = "".concat(supports);
90
+ list.push(item);
91
+ }
92
+ }
93
+ };
94
+ return list;
95
+ };
96
+ },
97
+ 586 (module) {
98
+ module.exports = function(i) {
99
+ return i[1];
100
+ };
101
+ },
102
+ 702 (module) {
103
+ var stylesInDOM = [];
104
+ function getIndexByIdentifier(identifier) {
105
+ var result = -1;
106
+ for(var i = 0; i < stylesInDOM.length; i++)if (stylesInDOM[i].identifier === identifier) {
107
+ result = i;
108
+ break;
109
+ }
110
+ return result;
111
+ }
112
+ function modulesToDom(list, options) {
113
+ var idCountMap = {};
114
+ var identifiers = [];
115
+ for(var i = 0; i < list.length; i++){
116
+ var item = list[i];
117
+ var id = options.base ? item[0] + options.base : item[0];
118
+ var count = idCountMap[id] || 0;
119
+ var identifier = "".concat(id, " ").concat(count);
120
+ idCountMap[id] = count + 1;
121
+ var indexByIdentifier = getIndexByIdentifier(identifier);
122
+ var obj = {
123
+ css: item[1],
124
+ media: item[2],
125
+ sourceMap: item[3],
126
+ supports: item[4],
127
+ layer: item[5]
128
+ };
129
+ if (-1 !== indexByIdentifier) {
130
+ stylesInDOM[indexByIdentifier].references++;
131
+ stylesInDOM[indexByIdentifier].updater(obj);
132
+ } else {
133
+ var updater = addElementStyle(obj, options);
134
+ options.byIndex = i;
135
+ stylesInDOM.splice(i, 0, {
136
+ identifier: identifier,
137
+ updater: updater,
138
+ references: 1
139
+ });
140
+ }
141
+ identifiers.push(identifier);
142
+ }
143
+ return identifiers;
144
+ }
145
+ function addElementStyle(obj, options) {
146
+ var api = options.domAPI(options);
147
+ api.update(obj);
148
+ var updater = function(newObj) {
149
+ if (newObj) {
150
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) return;
151
+ api.update(obj = newObj);
152
+ } else api.remove();
153
+ };
154
+ return updater;
155
+ }
156
+ module.exports = function(list, options) {
157
+ options = options || {};
158
+ list = list || [];
159
+ var lastIdentifiers = modulesToDom(list, options);
160
+ return function(newList) {
161
+ newList = newList || [];
162
+ for(var i = 0; i < lastIdentifiers.length; i++){
163
+ var identifier = lastIdentifiers[i];
164
+ var index = getIndexByIdentifier(identifier);
165
+ stylesInDOM[index].references--;
166
+ }
167
+ var newLastIdentifiers = modulesToDom(newList, options);
168
+ for(var _i = 0; _i < lastIdentifiers.length; _i++){
169
+ var _identifier = lastIdentifiers[_i];
170
+ var _index = getIndexByIdentifier(_identifier);
171
+ if (0 === stylesInDOM[_index].references) {
172
+ stylesInDOM[_index].updater();
173
+ stylesInDOM.splice(_index, 1);
174
+ }
175
+ }
176
+ lastIdentifiers = newLastIdentifiers;
177
+ };
178
+ };
179
+ },
180
+ 149 (module) {
181
+ var memo = {};
182
+ function getTarget(target) {
183
+ if (void 0 === memo[target]) {
184
+ var styleTarget = document.querySelector(target);
185
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) try {
186
+ styleTarget = styleTarget.contentDocument.head;
187
+ } catch (e) {
188
+ styleTarget = null;
189
+ }
190
+ memo[target] = styleTarget;
191
+ }
192
+ return memo[target];
193
+ }
194
+ function insertBySelector(insert, style) {
195
+ var target = getTarget(insert);
196
+ if (!target) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
197
+ target.appendChild(style);
198
+ }
199
+ module.exports = insertBySelector;
200
+ },
201
+ 634 (module) {
202
+ function insertStyleElement(options) {
203
+ var element = document.createElement("style");
204
+ options.setAttributes(element, options.attributes);
205
+ options.insert(element, options.options);
206
+ return element;
207
+ }
208
+ module.exports = insertStyleElement;
209
+ },
210
+ 390 (module, __unused_rspack_exports, __webpack_require__) {
211
+ function setAttributesWithoutAttributes(styleElement) {
212
+ var nonce = __webpack_require__.nc;
213
+ if (nonce) styleElement.setAttribute("nonce", nonce);
214
+ }
215
+ module.exports = setAttributesWithoutAttributes;
216
+ },
217
+ 119 (module) {
218
+ function apply(styleElement, options, obj) {
219
+ var css = "";
220
+ if (obj.supports) css += "@supports (".concat(obj.supports, ") {");
221
+ if (obj.media) css += "@media ".concat(obj.media, " {");
222
+ var needLayer = void 0 !== obj.layer;
223
+ if (needLayer) css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
224
+ css += obj.css;
225
+ if (needLayer) css += "}";
226
+ if (obj.media) css += "}";
227
+ if (obj.supports) css += "}";
228
+ var sourceMap = obj.sourceMap;
229
+ if (sourceMap && "u" > typeof btoa) css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
230
+ options.styleTagTransform(css, styleElement, options.options);
231
+ }
232
+ function removeStyleElement(styleElement) {
233
+ if (null === styleElement.parentNode) return false;
234
+ styleElement.parentNode.removeChild(styleElement);
235
+ }
236
+ function domAPI(options) {
237
+ if ("u" < typeof document) return {
238
+ update: function() {},
239
+ remove: function() {}
240
+ };
241
+ var styleElement = options.insertStyleElement(options);
242
+ return {
243
+ update: function(obj) {
244
+ apply(styleElement, options, obj);
245
+ },
246
+ remove: function() {
247
+ removeStyleElement(styleElement);
248
+ }
249
+ };
250
+ }
251
+ module.exports = domAPI;
252
+ },
253
+ 999 (module) {
254
+ function styleTagTransform(css, styleElement) {
255
+ if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
256
+ else {
257
+ while(styleElement.firstChild)styleElement.removeChild(styleElement.firstChild);
258
+ styleElement.appendChild(document.createTextNode(css));
259
+ }
260
+ }
261
+ module.exports = styleTagTransform;
262
+ }
263
+ };
264
+ var __webpack_module_cache__ = {};
265
+ function __webpack_require__(moduleId) {
266
+ var cachedModule = __webpack_module_cache__[moduleId];
267
+ if (void 0 !== cachedModule) return cachedModule.exports;
268
+ var module = __webpack_module_cache__[moduleId] = {
269
+ id: moduleId,
270
+ exports: {}
271
+ };
272
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
273
+ return module.exports;
274
+ }
275
+ (()=>{
276
+ __webpack_require__.n = (module)=>{
277
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
278
+ __webpack_require__.d(getter, {
279
+ a: getter
280
+ });
281
+ return getter;
282
+ };
283
+ })();
3
284
  (()=>{
4
285
  __webpack_require__.d = (exports1, getters, values)=>{
5
286
  var define = (defs, kind)=>{
@@ -25,20 +306,46 @@ var __webpack_require__ = {};
25
306
  });
26
307
  };
27
308
  })();
309
+ (()=>{
310
+ __webpack_require__.nc = void 0;
311
+ })();
28
312
  var __webpack_exports__ = {};
29
- __webpack_require__.r(__webpack_exports__);
30
- __webpack_require__.d(__webpack_exports__, {
31
- default: ()=>components_button
32
- });
33
- const jsx_runtime_namespaceObject = require("react/jsx-runtime");
34
- require("react");
35
- var buttonStyles = '_1bwnrav0';
36
- const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
37
- className: buttonStyles,
38
- children: "Button"
313
+ (()=>{
314
+ __webpack_require__.r(__webpack_exports__);
315
+ __webpack_require__.d(__webpack_exports__, {
316
+ default: ()=>components_button
39
317
  });
40
- const button_Button = Button;
41
- const components_button = button_Button;
318
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
319
+ require("react");
320
+ var injectStylesIntoStyleTag = __webpack_require__(702);
321
+ var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
322
+ var styleDomAPI = __webpack_require__(119);
323
+ var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
324
+ var insertBySelector = __webpack_require__(149);
325
+ var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
326
+ var setAttributesWithoutAttributes = __webpack_require__(390);
327
+ var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
328
+ var insertStyleElement = __webpack_require__(634);
329
+ var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
330
+ var styleTagTransform = __webpack_require__(999);
331
+ var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
332
+ var extracted = __webpack_require__(169);
333
+ var options = {};
334
+ options.styleTagTransform = styleTagTransform_default();
335
+ options.setAttributes = setAttributesWithoutAttributes_default();
336
+ options.insert = insertBySelector_default().bind(null, "head");
337
+ options.domAPI = styleDomAPI_default();
338
+ options.insertStyleElement = insertStyleElement_default();
339
+ injectStylesIntoStyleTag_default()(extracted.A, options);
340
+ extracted.A && extracted.A.locals && extracted.A.locals;
341
+ var Button_css_button = '_1bwnrav0';
342
+ const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
343
+ className: Button_css_button,
344
+ children: "Button"
345
+ });
346
+ const button_Button = Button;
347
+ const components_button = button_Button;
348
+ })();
42
349
  exports["default"] = __webpack_exports__["default"];
43
350
  for(var __rspack_i in __webpack_exports__)if (-1 === [
44
351
  "default"
@@ -1,18 +1,299 @@
1
1
  "use strict";
2
2
  var __webpack_modules__ = {
3
- 239 (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
3
+ 169 (module, __webpack_exports__, __webpack_require__) {
4
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__(586);
5
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
6
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__(115);
7
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
8
+ var ___CSS_LOADER_EXPORT___ = _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
9
+ ___CSS_LOADER_EXPORT___.push([
10
+ module.id,
11
+ `._1bwnrav0 {
12
+ color: #fff;
13
+ cursor: pointer;
14
+ background-color: #111827;
15
+ border: none;
16
+ border-radius: 9999px;
17
+ padding: .625rem 1rem;
18
+ font-size: .875rem;
19
+ font-weight: 600;
20
+ line-height: 1;
21
+ transition: transform .15s, opacity .15s;
22
+ }
23
+
24
+ ._1bwnrav0:hover {
25
+ opacity: .92;
26
+ }
27
+
28
+ ._1bwnrav0:active {
29
+ transform: translateY(1px);
30
+ }
31
+
32
+ ._1bwnrav0:focus-visible {
33
+ outline-offset: 2px;
34
+ outline: 2px solid #2563eb;
35
+ }
36
+ `,
37
+ ""
38
+ ]);
39
+ const __rspack_default_export = ___CSS_LOADER_EXPORT___;
40
+ __webpack_require__.d(__webpack_exports__, {}, {
41
+ A: __rspack_default_export
42
+ });
43
+ },
44
+ 748 (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
4
45
  __webpack_require__.d(__webpack_exports__, {
5
46
  default: ()=>components_button
6
47
  });
7
48
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
8
49
  require("react");
9
- var buttonStyles = '_1bwnrav0';
10
- const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
11
- className: buttonStyles,
50
+ var injectStylesIntoStyleTag = __webpack_require__(702);
51
+ var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
52
+ var styleDomAPI = __webpack_require__(119);
53
+ var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
54
+ var insertBySelector = __webpack_require__(149);
55
+ var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
56
+ var setAttributesWithoutAttributes = __webpack_require__(390);
57
+ var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
58
+ var insertStyleElement = __webpack_require__(634);
59
+ var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
60
+ var styleTagTransform = __webpack_require__(999);
61
+ var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
62
+ var extracted = __webpack_require__(169);
63
+ var options = {};
64
+ options.styleTagTransform = styleTagTransform_default();
65
+ options.setAttributes = setAttributesWithoutAttributes_default();
66
+ options.insert = insertBySelector_default().bind(null, "head");
67
+ options.domAPI = styleDomAPI_default();
68
+ options.insertStyleElement = insertStyleElement_default();
69
+ injectStylesIntoStyleTag_default()(extracted.A, options);
70
+ extracted.A && extracted.A.locals && extracted.A.locals;
71
+ var Button_css_button = '_1bwnrav0';
72
+ const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
73
+ className: Button_css_button,
12
74
  children: "Button"
13
75
  });
14
76
  const button_Button = Button;
15
77
  const components_button = button_Button;
78
+ },
79
+ 115 (module) {
80
+ module.exports = function(cssWithMappingToString) {
81
+ var list = [];
82
+ list.toString = function() {
83
+ return this.map(function(item) {
84
+ var content = "";
85
+ var needLayer = void 0 !== item[5];
86
+ if (item[4]) content += "@supports (".concat(item[4], ") {");
87
+ if (item[2]) content += "@media ".concat(item[2], " {");
88
+ if (needLayer) content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
89
+ content += cssWithMappingToString(item);
90
+ if (needLayer) content += "}";
91
+ if (item[2]) content += "}";
92
+ if (item[4]) content += "}";
93
+ return content;
94
+ }).join("");
95
+ };
96
+ list.i = function(modules, media, dedupe, supports, layer) {
97
+ if ("string" == typeof modules) modules = [
98
+ [
99
+ null,
100
+ modules,
101
+ void 0
102
+ ]
103
+ ];
104
+ var alreadyImportedModules = {};
105
+ if (dedupe) for(var k = 0; k < this.length; k++){
106
+ var id = this[k][0];
107
+ if (null != id) alreadyImportedModules[id] = true;
108
+ }
109
+ for(var _k = 0; _k < modules.length; _k++){
110
+ var item = [].concat(modules[_k]);
111
+ if (!dedupe || !alreadyImportedModules[item[0]]) {
112
+ if (void 0 !== layer) if (void 0 === item[5]) item[5] = layer;
113
+ else {
114
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
115
+ item[5] = layer;
116
+ }
117
+ if (media) if (item[2]) {
118
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
119
+ item[2] = media;
120
+ } else item[2] = media;
121
+ if (supports) if (item[4]) {
122
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
123
+ item[4] = supports;
124
+ } else item[4] = "".concat(supports);
125
+ list.push(item);
126
+ }
127
+ }
128
+ };
129
+ return list;
130
+ };
131
+ },
132
+ 586 (module) {
133
+ module.exports = function(i) {
134
+ return i[1];
135
+ };
136
+ },
137
+ 702 (module) {
138
+ var stylesInDOM = [];
139
+ function getIndexByIdentifier(identifier) {
140
+ var result = -1;
141
+ for(var i = 0; i < stylesInDOM.length; i++)if (stylesInDOM[i].identifier === identifier) {
142
+ result = i;
143
+ break;
144
+ }
145
+ return result;
146
+ }
147
+ function modulesToDom(list, options) {
148
+ var idCountMap = {};
149
+ var identifiers = [];
150
+ for(var i = 0; i < list.length; i++){
151
+ var item = list[i];
152
+ var id = options.base ? item[0] + options.base : item[0];
153
+ var count = idCountMap[id] || 0;
154
+ var identifier = "".concat(id, " ").concat(count);
155
+ idCountMap[id] = count + 1;
156
+ var indexByIdentifier = getIndexByIdentifier(identifier);
157
+ var obj = {
158
+ css: item[1],
159
+ media: item[2],
160
+ sourceMap: item[3],
161
+ supports: item[4],
162
+ layer: item[5]
163
+ };
164
+ if (-1 !== indexByIdentifier) {
165
+ stylesInDOM[indexByIdentifier].references++;
166
+ stylesInDOM[indexByIdentifier].updater(obj);
167
+ } else {
168
+ var updater = addElementStyle(obj, options);
169
+ options.byIndex = i;
170
+ stylesInDOM.splice(i, 0, {
171
+ identifier: identifier,
172
+ updater: updater,
173
+ references: 1
174
+ });
175
+ }
176
+ identifiers.push(identifier);
177
+ }
178
+ return identifiers;
179
+ }
180
+ function addElementStyle(obj, options) {
181
+ var api = options.domAPI(options);
182
+ api.update(obj);
183
+ var updater = function(newObj) {
184
+ if (newObj) {
185
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) return;
186
+ api.update(obj = newObj);
187
+ } else api.remove();
188
+ };
189
+ return updater;
190
+ }
191
+ module.exports = function(list, options) {
192
+ options = options || {};
193
+ list = list || [];
194
+ var lastIdentifiers = modulesToDom(list, options);
195
+ return function(newList) {
196
+ newList = newList || [];
197
+ for(var i = 0; i < lastIdentifiers.length; i++){
198
+ var identifier = lastIdentifiers[i];
199
+ var index = getIndexByIdentifier(identifier);
200
+ stylesInDOM[index].references--;
201
+ }
202
+ var newLastIdentifiers = modulesToDom(newList, options);
203
+ for(var _i = 0; _i < lastIdentifiers.length; _i++){
204
+ var _identifier = lastIdentifiers[_i];
205
+ var _index = getIndexByIdentifier(_identifier);
206
+ if (0 === stylesInDOM[_index].references) {
207
+ stylesInDOM[_index].updater();
208
+ stylesInDOM.splice(_index, 1);
209
+ }
210
+ }
211
+ lastIdentifiers = newLastIdentifiers;
212
+ };
213
+ };
214
+ },
215
+ 149 (module) {
216
+ var memo = {};
217
+ function getTarget(target) {
218
+ if (void 0 === memo[target]) {
219
+ var styleTarget = document.querySelector(target);
220
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) try {
221
+ styleTarget = styleTarget.contentDocument.head;
222
+ } catch (e) {
223
+ styleTarget = null;
224
+ }
225
+ memo[target] = styleTarget;
226
+ }
227
+ return memo[target];
228
+ }
229
+ function insertBySelector(insert, style) {
230
+ var target = getTarget(insert);
231
+ if (!target) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
232
+ target.appendChild(style);
233
+ }
234
+ module.exports = insertBySelector;
235
+ },
236
+ 634 (module) {
237
+ function insertStyleElement(options) {
238
+ var element = document.createElement("style");
239
+ options.setAttributes(element, options.attributes);
240
+ options.insert(element, options.options);
241
+ return element;
242
+ }
243
+ module.exports = insertStyleElement;
244
+ },
245
+ 390 (module, __unused_rspack_exports, __webpack_require__) {
246
+ function setAttributesWithoutAttributes(styleElement) {
247
+ var nonce = __webpack_require__.nc;
248
+ if (nonce) styleElement.setAttribute("nonce", nonce);
249
+ }
250
+ module.exports = setAttributesWithoutAttributes;
251
+ },
252
+ 119 (module) {
253
+ function apply(styleElement, options, obj) {
254
+ var css = "";
255
+ if (obj.supports) css += "@supports (".concat(obj.supports, ") {");
256
+ if (obj.media) css += "@media ".concat(obj.media, " {");
257
+ var needLayer = void 0 !== obj.layer;
258
+ if (needLayer) css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
259
+ css += obj.css;
260
+ if (needLayer) css += "}";
261
+ if (obj.media) css += "}";
262
+ if (obj.supports) css += "}";
263
+ var sourceMap = obj.sourceMap;
264
+ if (sourceMap && "u" > typeof btoa) css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
265
+ options.styleTagTransform(css, styleElement, options.options);
266
+ }
267
+ function removeStyleElement(styleElement) {
268
+ if (null === styleElement.parentNode) return false;
269
+ styleElement.parentNode.removeChild(styleElement);
270
+ }
271
+ function domAPI(options) {
272
+ if ("u" < typeof document) return {
273
+ update: function() {},
274
+ remove: function() {}
275
+ };
276
+ var styleElement = options.insertStyleElement(options);
277
+ return {
278
+ update: function(obj) {
279
+ apply(styleElement, options, obj);
280
+ },
281
+ remove: function() {
282
+ removeStyleElement(styleElement);
283
+ }
284
+ };
285
+ }
286
+ module.exports = domAPI;
287
+ },
288
+ 999 (module) {
289
+ function styleTagTransform(css, styleElement) {
290
+ if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
291
+ else {
292
+ while(styleElement.firstChild)styleElement.removeChild(styleElement.firstChild);
293
+ styleElement.appendChild(document.createTextNode(css));
294
+ }
295
+ }
296
+ module.exports = styleTagTransform;
16
297
  }
17
298
  };
18
299
  var __webpack_module_cache__ = {};
@@ -20,11 +301,21 @@ function __webpack_require__(moduleId) {
20
301
  var cachedModule = __webpack_module_cache__[moduleId];
21
302
  if (void 0 !== cachedModule) return cachedModule.exports;
22
303
  var module = __webpack_module_cache__[moduleId] = {
304
+ id: moduleId,
23
305
  exports: {}
24
306
  };
25
307
  __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
26
308
  return module.exports;
27
309
  }
310
+ (()=>{
311
+ __webpack_require__.n = (module)=>{
312
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
313
+ __webpack_require__.d(getter, {
314
+ a: getter
315
+ });
316
+ return getter;
317
+ };
318
+ })();
28
319
  (()=>{
29
320
  __webpack_require__.d = (exports1, getters, values)=>{
30
321
  var define = (defs, kind)=>{
@@ -50,10 +341,13 @@ function __webpack_require__(moduleId) {
50
341
  });
51
342
  };
52
343
  })();
344
+ (()=>{
345
+ __webpack_require__.nc = void 0;
346
+ })();
53
347
  var __webpack_exports__ = {};
54
348
  (()=>{
55
349
  __webpack_require__.r(__webpack_exports__);
56
- var _components_button__rspack_import_0 = __webpack_require__(239);
350
+ var _components_button__rspack_import_0 = __webpack_require__(748);
57
351
  __webpack_require__.d(__webpack_exports__, {
58
352
  Button: ()=>_components_button__rspack_import_0["default"],
59
353
  default: ()=>_components_button__rspack_import_0["default"]
@@ -0,0 +1,46 @@
1
+ var __webpack_modules__ = {};
2
+ var __webpack_module_cache__ = {};
3
+ function __webpack_require__(moduleId) {
4
+ var cachedModule = __webpack_module_cache__[moduleId];
5
+ if (void 0 !== cachedModule) return cachedModule.exports;
6
+ var module = __webpack_module_cache__[moduleId] = {
7
+ id: moduleId,
8
+ exports: {}
9
+ };
10
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
11
+ return module.exports;
12
+ }
13
+ __webpack_require__.m = __webpack_modules__;
14
+ (()=>{
15
+ __webpack_require__.n = (module)=>{
16
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
17
+ __webpack_require__.d(getter, {
18
+ a: getter
19
+ });
20
+ return getter;
21
+ };
22
+ })();
23
+ (()=>{
24
+ __webpack_require__.d = (exports, getters, values)=>{
25
+ var define = (defs, kind)=>{
26
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
27
+ enumerable: true,
28
+ [kind]: defs[key]
29
+ });
30
+ };
31
+ define(getters, "get");
32
+ define(values, "value");
33
+ };
34
+ })();
35
+ (()=>{
36
+ __webpack_require__.add = function(modules) {
37
+ Object.assign(__webpack_require__.m, modules);
38
+ };
39
+ })();
40
+ (()=>{
41
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
42
+ })();
43
+ (()=>{
44
+ __webpack_require__.nc = void 0;
45
+ })();
46
+ export { __webpack_require__ };
@@ -1,8 +1,292 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- var buttonStyles = '_1bwnrav0';
4
- const Button = ()=>/*#__PURE__*/ jsx("div", {
5
- className: buttonStyles,
3
+ import { __webpack_require__ } from "./0~rslib-runtime.js";
4
+ __webpack_require__.add({
5
+ 169 (module, __webpack_exports__, __webpack_require__) {
6
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__(586);
7
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
8
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__(115);
9
+ var _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
10
+ var ___CSS_LOADER_EXPORT___ = _rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_rsbuild_core_2_1_1_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
11
+ ___CSS_LOADER_EXPORT___.push([
12
+ module.id,
13
+ `._1bwnrav0 {
14
+ color: #fff;
15
+ cursor: pointer;
16
+ background-color: #111827;
17
+ border: none;
18
+ border-radius: 9999px;
19
+ padding: .625rem 1rem;
20
+ font-size: .875rem;
21
+ font-weight: 600;
22
+ line-height: 1;
23
+ transition: transform .15s, opacity .15s;
24
+ }
25
+
26
+ ._1bwnrav0:hover {
27
+ opacity: .92;
28
+ }
29
+
30
+ ._1bwnrav0:active {
31
+ transform: translateY(1px);
32
+ }
33
+
34
+ ._1bwnrav0:focus-visible {
35
+ outline-offset: 2px;
36
+ outline: 2px solid #2563eb;
37
+ }
38
+ `,
39
+ ""
40
+ ]);
41
+ const __rspack_default_export = ___CSS_LOADER_EXPORT___;
42
+ __webpack_require__.d(__webpack_exports__, {}, {
43
+ A: __rspack_default_export
44
+ });
45
+ },
46
+ 115 (module) {
47
+ module.exports = function(cssWithMappingToString) {
48
+ var list = [];
49
+ list.toString = function() {
50
+ return this.map(function(item) {
51
+ var content = "";
52
+ var needLayer = void 0 !== item[5];
53
+ if (item[4]) content += "@supports (".concat(item[4], ") {");
54
+ if (item[2]) content += "@media ".concat(item[2], " {");
55
+ if (needLayer) content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
56
+ content += cssWithMappingToString(item);
57
+ if (needLayer) content += "}";
58
+ if (item[2]) content += "}";
59
+ if (item[4]) content += "}";
60
+ return content;
61
+ }).join("");
62
+ };
63
+ list.i = function(modules, media, dedupe, supports, layer) {
64
+ if ("string" == typeof modules) modules = [
65
+ [
66
+ null,
67
+ modules,
68
+ void 0
69
+ ]
70
+ ];
71
+ var alreadyImportedModules = {};
72
+ if (dedupe) for(var k = 0; k < this.length; k++){
73
+ var id = this[k][0];
74
+ if (null != id) alreadyImportedModules[id] = true;
75
+ }
76
+ for(var _k = 0; _k < modules.length; _k++){
77
+ var item = [].concat(modules[_k]);
78
+ if (!dedupe || !alreadyImportedModules[item[0]]) {
79
+ if (void 0 !== layer) if (void 0 === item[5]) item[5] = layer;
80
+ else {
81
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
82
+ item[5] = layer;
83
+ }
84
+ if (media) if (item[2]) {
85
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
86
+ item[2] = media;
87
+ } else item[2] = media;
88
+ if (supports) if (item[4]) {
89
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
90
+ item[4] = supports;
91
+ } else item[4] = "".concat(supports);
92
+ list.push(item);
93
+ }
94
+ }
95
+ };
96
+ return list;
97
+ };
98
+ },
99
+ 586 (module) {
100
+ module.exports = function(i) {
101
+ return i[1];
102
+ };
103
+ },
104
+ 702 (module) {
105
+ var stylesInDOM = [];
106
+ function getIndexByIdentifier(identifier) {
107
+ var result = -1;
108
+ for(var i = 0; i < stylesInDOM.length; i++)if (stylesInDOM[i].identifier === identifier) {
109
+ result = i;
110
+ break;
111
+ }
112
+ return result;
113
+ }
114
+ function modulesToDom(list, options) {
115
+ var idCountMap = {};
116
+ var identifiers = [];
117
+ for(var i = 0; i < list.length; i++){
118
+ var item = list[i];
119
+ var id = options.base ? item[0] + options.base : item[0];
120
+ var count = idCountMap[id] || 0;
121
+ var identifier = "".concat(id, " ").concat(count);
122
+ idCountMap[id] = count + 1;
123
+ var indexByIdentifier = getIndexByIdentifier(identifier);
124
+ var obj = {
125
+ css: item[1],
126
+ media: item[2],
127
+ sourceMap: item[3],
128
+ supports: item[4],
129
+ layer: item[5]
130
+ };
131
+ if (-1 !== indexByIdentifier) {
132
+ stylesInDOM[indexByIdentifier].references++;
133
+ stylesInDOM[indexByIdentifier].updater(obj);
134
+ } else {
135
+ var updater = addElementStyle(obj, options);
136
+ options.byIndex = i;
137
+ stylesInDOM.splice(i, 0, {
138
+ identifier: identifier,
139
+ updater: updater,
140
+ references: 1
141
+ });
142
+ }
143
+ identifiers.push(identifier);
144
+ }
145
+ return identifiers;
146
+ }
147
+ function addElementStyle(obj, options) {
148
+ var api = options.domAPI(options);
149
+ api.update(obj);
150
+ var updater = function(newObj) {
151
+ if (newObj) {
152
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) return;
153
+ api.update(obj = newObj);
154
+ } else api.remove();
155
+ };
156
+ return updater;
157
+ }
158
+ module.exports = function(list, options) {
159
+ options = options || {};
160
+ list = list || [];
161
+ var lastIdentifiers = modulesToDom(list, options);
162
+ return function(newList) {
163
+ newList = newList || [];
164
+ for(var i = 0; i < lastIdentifiers.length; i++){
165
+ var identifier = lastIdentifiers[i];
166
+ var index = getIndexByIdentifier(identifier);
167
+ stylesInDOM[index].references--;
168
+ }
169
+ var newLastIdentifiers = modulesToDom(newList, options);
170
+ for(var _i = 0; _i < lastIdentifiers.length; _i++){
171
+ var _identifier = lastIdentifiers[_i];
172
+ var _index = getIndexByIdentifier(_identifier);
173
+ if (0 === stylesInDOM[_index].references) {
174
+ stylesInDOM[_index].updater();
175
+ stylesInDOM.splice(_index, 1);
176
+ }
177
+ }
178
+ lastIdentifiers = newLastIdentifiers;
179
+ };
180
+ };
181
+ },
182
+ 149 (module) {
183
+ var memo = {};
184
+ function getTarget(target) {
185
+ if (void 0 === memo[target]) {
186
+ var styleTarget = document.querySelector(target);
187
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) try {
188
+ styleTarget = styleTarget.contentDocument.head;
189
+ } catch (e) {
190
+ styleTarget = null;
191
+ }
192
+ memo[target] = styleTarget;
193
+ }
194
+ return memo[target];
195
+ }
196
+ function insertBySelector(insert, style) {
197
+ var target = getTarget(insert);
198
+ if (!target) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
199
+ target.appendChild(style);
200
+ }
201
+ module.exports = insertBySelector;
202
+ },
203
+ 634 (module) {
204
+ function insertStyleElement(options) {
205
+ var element = document.createElement("style");
206
+ options.setAttributes(element, options.attributes);
207
+ options.insert(element, options.options);
208
+ return element;
209
+ }
210
+ module.exports = insertStyleElement;
211
+ },
212
+ 390 (module, __unused_rspack_exports, __webpack_require__) {
213
+ function setAttributesWithoutAttributes(styleElement) {
214
+ var nonce = __webpack_require__.nc;
215
+ if (nonce) styleElement.setAttribute("nonce", nonce);
216
+ }
217
+ module.exports = setAttributesWithoutAttributes;
218
+ },
219
+ 119 (module) {
220
+ function apply(styleElement, options, obj) {
221
+ var css = "";
222
+ if (obj.supports) css += "@supports (".concat(obj.supports, ") {");
223
+ if (obj.media) css += "@media ".concat(obj.media, " {");
224
+ var needLayer = void 0 !== obj.layer;
225
+ if (needLayer) css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
226
+ css += obj.css;
227
+ if (needLayer) css += "}";
228
+ if (obj.media) css += "}";
229
+ if (obj.supports) css += "}";
230
+ var sourceMap = obj.sourceMap;
231
+ if (sourceMap && "u" > typeof btoa) css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
232
+ options.styleTagTransform(css, styleElement, options.options);
233
+ }
234
+ function removeStyleElement(styleElement) {
235
+ if (null === styleElement.parentNode) return false;
236
+ styleElement.parentNode.removeChild(styleElement);
237
+ }
238
+ function domAPI(options) {
239
+ if ("u" < typeof document) return {
240
+ update: function() {},
241
+ remove: function() {}
242
+ };
243
+ var styleElement = options.insertStyleElement(options);
244
+ return {
245
+ update: function(obj) {
246
+ apply(styleElement, options, obj);
247
+ },
248
+ remove: function() {
249
+ removeStyleElement(styleElement);
250
+ }
251
+ };
252
+ }
253
+ module.exports = domAPI;
254
+ },
255
+ 999 (module) {
256
+ function styleTagTransform(css, styleElement) {
257
+ if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
258
+ else {
259
+ while(styleElement.firstChild)styleElement.removeChild(styleElement.firstChild);
260
+ styleElement.appendChild(document.createTextNode(css));
261
+ }
262
+ }
263
+ module.exports = styleTagTransform;
264
+ }
265
+ });
266
+ const injectStylesIntoStyleTag = __webpack_require__("702");
267
+ var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
268
+ const styleDomAPI = __webpack_require__("119");
269
+ var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
270
+ const insertBySelector = __webpack_require__("149");
271
+ var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
272
+ const setAttributesWithoutAttributes = __webpack_require__("390");
273
+ var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
274
+ const insertStyleElement = __webpack_require__("634");
275
+ var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
276
+ const styleTagTransform = __webpack_require__("999");
277
+ var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
278
+ const extracted_0 = __webpack_require__("169");
279
+ var options = {};
280
+ options.styleTagTransform = styleTagTransform_default();
281
+ options.setAttributes = setAttributesWithoutAttributes_default();
282
+ options.insert = insertBySelector_default().bind(null, "head");
283
+ options.domAPI = styleDomAPI_default();
284
+ options.insertStyleElement = insertStyleElement_default();
285
+ injectStylesIntoStyleTag_default()(extracted_0.A, options);
286
+ extracted_0.A && extracted_0.A.locals && extracted_0.A.locals;
287
+ var Button_css_button = '_1bwnrav0';
288
+ const Button = ()=>/*#__PURE__*/ jsx("button", {
289
+ className: Button_css_button,
6
290
  children: "Button"
7
291
  });
8
292
  const button_Button = Button;
@@ -1,2 +1,2 @@
1
- export declare const buttonStyles: string;
1
+ export declare const button: string;
2
2
  //# sourceMappingURL=Button.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,QAOvB,CAAC"}
1
+ {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,QAuBjB,CAAC"}
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "@vinyasa/button",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css"
8
8
  ],
9
9
  "files": [
10
- "dist",
11
- "style.css",
12
- "style.css.d.ts"
10
+ "dist"
13
11
  ],
14
12
  "publishConfig": {
15
13
  "access": "public"
@@ -30,15 +28,10 @@
30
28
  "require": "./dist/cjs/*.cjs",
31
29
  "default": "./dist/esm/*.js"
32
30
  },
33
- "./style.css": {
34
- "types": "./style.css.d.ts",
35
- "default": "./style.css"
36
- },
37
31
  "./package.json": "./package.json"
38
32
  },
39
33
  "scripts": {
40
34
  "build": "rslib build",
41
- "postbuild": "node ../../scripts/copy-css-types.mjs packages/button",
42
35
  "typecheck": "tsc --noEmit -p tsconfig.json",
43
36
  "lint": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx}",
44
37
  "lint:fix": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx} --fix",
@@ -57,10 +50,12 @@
57
50
  "devDependencies": {
58
51
  "@rsbuild/plugin-react": "^2.1.0",
59
52
  "@rslib/core": "^0.23.1",
60
- "@vanilla-extract/css": "^1.21.0",
61
53
  "@storybook/react-vite": "^10.4.6",
62
54
  "@types/node": "^26.0.1",
63
55
  "@types/react": "^19.0.0",
56
+ "@vanilla-extract/css": "^1.21.0",
57
+ "@vanilla-extract/vite-plugin": "^5.2.3",
58
+ "@vanilla-extract/webpack-plugin": "^2.3.27",
64
59
  "typescript": "^5.7.3"
65
60
  }
66
61
  }
@@ -1,9 +0,0 @@
1
- ._1bwnrav0 {
2
- color: #fff;
3
- background-color: #111827;
4
- border: 1px solid #1f2937;
5
- border-radius: .75rem;
6
- padding: .75rem 1rem;
7
- font-weight: 600;
8
- }
9
-
@@ -1,9 +0,0 @@
1
- ._1bwnrav0 {
2
- color: #fff;
3
- background-color: #111827;
4
- border: 1px solid #1f2937;
5
- border-radius: .75rem;
6
- padding: .75rem 1rem;
7
- font-weight: 600;
8
- }
9
-
@@ -1,9 +0,0 @@
1
- ._1bwnrav0 {
2
- color: #fff;
3
- background-color: #111827;
4
- border: 1px solid #1f2937;
5
- border-radius: .75rem;
6
- padding: .75rem 1rem;
7
- font-weight: 600;
8
- }
9
-
package/dist/esm/css.d.ts DELETED
@@ -1,5 +0,0 @@
1
- declare module '*.css' {
2
- const css: string;
3
-
4
- export default css;
5
- }
package/style.css DELETED
@@ -1,9 +0,0 @@
1
- ._1bwnrav0 {
2
- color: #fff;
3
- background-color: #111827;
4
- border: 1px solid #1f2937;
5
- border-radius: .75rem;
6
- padding: .75rem 1rem;
7
- font-weight: 600;
8
- }
9
-
package/style.css.d.ts DELETED
@@ -1,5 +0,0 @@
1
- declare module '*.css' {
2
- const css: string;
3
-
4
- export default css;
5
- }