flowcore-fn 8.0.4 → 8.0.5

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,6 +1,6 @@
1
1
  /* src/styles/index.css */
2
2
  @layer properties;
3
- @layer theme, utilities;
3
+ @layer theme, base, components, utilities;
4
4
  @layer theme {
5
5
  :root,
6
6
  :host {
@@ -102,6 +102,197 @@
102
102
  --fc-blur-3xl: 64px;
103
103
  --fc-default-transition-duration: 150ms;
104
104
  --fc-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
105
+ --fc-default-font-family: var(--fc-font-sans);
106
+ --fc-default-mono-font-family: var(--fc-font-mono);
107
+ }
108
+ }
109
+ @layer base {
110
+ *,
111
+ ::after,
112
+ ::before,
113
+ ::backdrop,
114
+ ::file-selector-button {
115
+ box-sizing: border-box;
116
+ margin: 0;
117
+ padding: 0;
118
+ border: 0 solid;
119
+ }
120
+ html,
121
+ :host {
122
+ line-height: 1.5;
123
+ -webkit-text-size-adjust: 100%;
124
+ tab-size: 4;
125
+ font-family: var(--fc-default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
126
+ font-feature-settings: var(--fc-default-font-feature-settings, normal);
127
+ font-variation-settings: var(--fc-default-font-variation-settings, normal);
128
+ -webkit-tap-highlight-color: transparent;
129
+ }
130
+ hr {
131
+ height: 0;
132
+ color: inherit;
133
+ border-top-width: 1px;
134
+ }
135
+ abbr:where([title]) {
136
+ -webkit-text-decoration: underline dotted;
137
+ text-decoration: underline dotted;
138
+ }
139
+ h1,
140
+ h2,
141
+ h3,
142
+ h4,
143
+ h5,
144
+ h6 {
145
+ font-size: inherit;
146
+ font-weight: inherit;
147
+ }
148
+ a {
149
+ color: inherit;
150
+ -webkit-text-decoration: inherit;
151
+ text-decoration: inherit;
152
+ }
153
+ b,
154
+ strong {
155
+ font-weight: bolder;
156
+ }
157
+ code,
158
+ kbd,
159
+ samp,
160
+ pre {
161
+ font-family: var(--fc-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
162
+ font-feature-settings: var(--fc-default-mono-font-feature-settings, normal);
163
+ font-variation-settings: var(--fc-default-mono-font-variation-settings, normal);
164
+ font-size: 1em;
165
+ }
166
+ small {
167
+ font-size: 80%;
168
+ }
169
+ sub,
170
+ sup {
171
+ font-size: 75%;
172
+ line-height: 0;
173
+ position: relative;
174
+ vertical-align: baseline;
175
+ }
176
+ sub {
177
+ bottom: -0.25em;
178
+ }
179
+ sup {
180
+ top: -0.5em;
181
+ }
182
+ table {
183
+ text-indent: 0;
184
+ border-color: inherit;
185
+ border-collapse: collapse;
186
+ }
187
+ :-moz-focusring {
188
+ outline: auto;
189
+ }
190
+ progress {
191
+ vertical-align: baseline;
192
+ }
193
+ summary {
194
+ display: list-item;
195
+ }
196
+ ol,
197
+ ul,
198
+ menu {
199
+ list-style: none;
200
+ }
201
+ img,
202
+ svg,
203
+ video,
204
+ canvas,
205
+ audio,
206
+ iframe,
207
+ embed,
208
+ object {
209
+ display: block;
210
+ vertical-align: middle;
211
+ }
212
+ img,
213
+ video {
214
+ max-width: 100%;
215
+ height: auto;
216
+ }
217
+ button,
218
+ input,
219
+ select,
220
+ optgroup,
221
+ textarea,
222
+ ::file-selector-button {
223
+ font: inherit;
224
+ font-feature-settings: inherit;
225
+ font-variation-settings: inherit;
226
+ letter-spacing: inherit;
227
+ color: inherit;
228
+ border-radius: 0;
229
+ background-color: transparent;
230
+ opacity: 1;
231
+ }
232
+ :where(select:is([multiple], [size])) optgroup {
233
+ font-weight: bolder;
234
+ }
235
+ :where(select:is([multiple], [size])) optgroup option {
236
+ padding-inline-start: 20px;
237
+ }
238
+ ::file-selector-button {
239
+ margin-inline-end: 4px;
240
+ }
241
+ ::placeholder {
242
+ opacity: 1;
243
+ }
244
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
245
+ ::placeholder {
246
+ color: currentcolor;
247
+ @supports (color: color-mix(in lab, red, red)) {
248
+ color: color-mix(in oklab, currentcolor 50%, transparent);
249
+ }
250
+ }
251
+ }
252
+ textarea {
253
+ resize: vertical;
254
+ }
255
+ ::-webkit-search-decoration {
256
+ -webkit-appearance: none;
257
+ }
258
+ ::-webkit-date-and-time-value {
259
+ min-height: 1lh;
260
+ text-align: inherit;
261
+ }
262
+ ::-webkit-datetime-edit {
263
+ display: inline-flex;
264
+ }
265
+ ::-webkit-datetime-edit-fields-wrapper {
266
+ padding: 0;
267
+ }
268
+ ::-webkit-datetime-edit,
269
+ ::-webkit-datetime-edit-year-field,
270
+ ::-webkit-datetime-edit-month-field,
271
+ ::-webkit-datetime-edit-day-field,
272
+ ::-webkit-datetime-edit-hour-field,
273
+ ::-webkit-datetime-edit-minute-field,
274
+ ::-webkit-datetime-edit-second-field,
275
+ ::-webkit-datetime-edit-millisecond-field,
276
+ ::-webkit-datetime-edit-meridiem-field {
277
+ padding-block: 0;
278
+ }
279
+ ::-webkit-calendar-picker-indicator {
280
+ line-height: 1;
281
+ }
282
+ :-moz-ui-invalid {
283
+ box-shadow: none;
284
+ }
285
+ button,
286
+ input:where([type=button], [type=reset], [type=submit]),
287
+ ::file-selector-button {
288
+ appearance: button;
289
+ }
290
+ ::-webkit-inner-spin-button,
291
+ ::-webkit-outer-spin-button {
292
+ height: auto;
293
+ }
294
+ [hidden]:where(:not([hidden=until-found])) {
295
+ display: none !important;
105
296
  }
106
297
  }
107
298
  @layer utilities {
@@ -1512,6 +1703,46 @@
1512
1703
  user-select: none;
1513
1704
  }
1514
1705
  }
1706
+ .flowcore *,
1707
+ .flowcore *::before,
1708
+ .flowcore *::after {
1709
+ box-sizing: border-box;
1710
+ border-width: 0;
1711
+ border-style: solid;
1712
+ }
1713
+ .flowcore button,
1714
+ .flowcore [type=button],
1715
+ .flowcore [type=reset],
1716
+ .flowcore [type=submit],
1717
+ .flowcore [role=button] {
1718
+ -webkit-appearance: none;
1719
+ appearance: none;
1720
+ background-color: transparent;
1721
+ background-image: none;
1722
+ border-style: none;
1723
+ border-width: 0;
1724
+ border-color: transparent;
1725
+ color: inherit;
1726
+ font: inherit;
1727
+ line-height: inherit;
1728
+ margin: 0;
1729
+ padding: 0;
1730
+ cursor: pointer;
1731
+ }
1732
+ .flowcore button:focus,
1733
+ .flowcore [type=button]:focus,
1734
+ .flowcore [type=reset]:focus,
1735
+ .flowcore [type=submit]:focus {
1736
+ outline: none;
1737
+ }
1738
+ .flowcore input,
1739
+ .flowcore textarea,
1740
+ .flowcore select {
1741
+ -webkit-appearance: none;
1742
+ appearance: none;
1743
+ font: inherit;
1744
+ color: inherit;
1745
+ }
1515
1746
  @property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
1516
1747
  @property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
1517
1748
  @property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
package/dist/pkg-index.js CHANGED
@@ -4306,11 +4306,16 @@ function Sidebar({
4306
4306
  // src/components/Layout.jsx
4307
4307
  var import_react38 = require("react");
4308
4308
  var import_jsx_runtime37 = require("react/jsx-runtime");
4309
- var Layout = ({
4310
- children
4311
- }) => {
4309
+ var Layout = ({ children }) => {
4312
4310
  const [isOpen, setIsOpen] = (0, import_react38.useState)(true);
4313
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "fc:flex fc:min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Sidebar, { isOpen, onToggle: () => setIsOpen(!isOpen), childrens: children }) });
4311
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flowcore fc:flex fc:min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4312
+ Sidebar,
4313
+ {
4314
+ isOpen,
4315
+ onToggle: () => setIsOpen(!isOpen),
4316
+ childrens: children
4317
+ }
4318
+ ) });
4314
4319
  };
4315
4320
  var Layout_default = Layout;
4316
4321
  // Annotate the CommonJS export names for ESM import in node:
@@ -4272,11 +4272,16 @@ function Sidebar({
4272
4272
  // src/components/Layout.jsx
4273
4273
  import { useState as useState22 } from "react";
4274
4274
  import { jsx as jsx37 } from "react/jsx-runtime";
4275
- var Layout = ({
4276
- children
4277
- }) => {
4275
+ var Layout = ({ children }) => {
4278
4276
  const [isOpen, setIsOpen] = useState22(true);
4279
- return /* @__PURE__ */ jsx37("div", { className: "fc:flex fc:min-h-screen", children: /* @__PURE__ */ jsx37(Sidebar, { isOpen, onToggle: () => setIsOpen(!isOpen), childrens: children }) });
4277
+ return /* @__PURE__ */ jsx37("div", { className: "flowcore fc:flex fc:min-h-screen", children: /* @__PURE__ */ jsx37(
4278
+ Sidebar,
4279
+ {
4280
+ isOpen,
4281
+ onToggle: () => setIsOpen(!isOpen),
4282
+ childrens: children
4283
+ }
4284
+ ) });
4280
4285
  };
4281
4286
  var Layout_default = Layout;
4282
4287
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowcore-fn",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "main": "dist/pkg-index.js",
5
5
  "module": "dist/pkg-index.mjs",
6
6
  "files": [