@upstart.gg/style-system 0.0.138 → 0.0.139

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,34 +1,34 @@
1
1
 
2
- > @upstart.gg/style-system@0.0.138 build /home/runner/work/upstart/upstart/packages/style-system
2
+ > @upstart.gg/style-system@0.0.139 build /home/runner/work/upstart/upstart/packages/style-system
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/colors.ts, src/system.ts, src/twind-config.ts, src/twind-node.ts, src/twind-ssr.ts, src/twind.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.0
8
8
  CLI Using tsup config: /home/runner/work/upstart/upstart/packages/style-system/tsup.config.ts
9
- CLI Target: es2022
9
+ CLI Target: esnext
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  ESM dist/colors.js 115.00 B
13
- ESM dist/system.js 321.00 B
14
- ESM dist/twind-config.js 178.00 B
13
+ ESM dist/system.js 781.00 B
15
14
  ESM dist/twind-node.js 169.00 B
16
15
  ESM dist/twind-ssr.js 167.00 B
17
16
  ESM dist/twind.js 1.88 KB
17
+ ESM dist/twind-config.js 178.00 B
18
18
  ESM dist/chunk-JJJXAZF2.js 13.80 KB
19
19
  ESM dist/chunk-JA3MEJAB.js 9.82 KB
20
20
  ESM dist/colors.js.map 71.00 B
21
- ESM dist/system.js.map 423.00 B
22
- ESM dist/twind-config.js.map 71.00 B
23
- ESM dist/twind-node.js.map 207.00 B
21
+ ESM dist/system.js.map 853.00 B
24
22
  ESM dist/twind-ssr.js.map 206.00 B
23
+ ESM dist/twind-node.js.map 207.00 B
25
24
  ESM dist/twind.js.map 3.02 KB
26
25
  ESM dist/chunk-JJJXAZF2.js.map 23.15 KB
26
+ ESM dist/twind-config.js.map 71.00 B
27
27
  ESM dist/chunk-JA3MEJAB.js.map 15.19 KB
28
- ESM ⚡️ Build success in 27ms
28
+ ESM ⚡️ Build success in 24ms
29
29
  DTS Build start
30
- DTS ⚡️ Build success in 3430ms
31
- DTS dist/system.d.ts 361.00 B
30
+ DTS ⚡️ Build success in 3280ms
31
+ DTS dist/system.d.ts 571.00 B
32
32
  DTS dist/colors.d.ts 5.90 KB
33
33
  DTS dist/twind-config.d.ts 532.00 B
34
34
  DTS dist/twind.d.ts 1.44 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @upstart.gg/style-system
2
2
 
3
+ ## 0.0.139
4
+
3
5
  ## 0.0.138
4
6
 
5
7
  ### Patch Changes
@@ -1 +1 @@
1
- {"inputs":{"src/colors.ts":{"bytes":10001,"imports":[],"format":"esm"},"src/system.ts":{"bytes":249,"imports":[{"path":"@radix-ui/themes","kind":"import-statement","external":true},{"path":"@formkit/auto-animate/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"@floating-ui/react","kind":"import-statement","external":true},{"path":"react-hot-toast","kind":"import-statement","external":true}],"format":"esm"},"src/twind-config.ts":{"bytes":14248,"imports":[{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/preset-autoprefix","kind":"import-statement","external":true},{"path":"@twind/preset-container-queries","kind":"import-statement","external":true},{"path":"@twind/preset-ext","kind":"import-statement","external":true},{"path":"@twind/preset-line-clamp","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind-forms","kind":"import-statement","external":true},{"path":"@twind/preset-typography","kind":"import-statement","external":true},{"path":"src/colors.ts","kind":"import-statement","original":"./colors"}],"format":"esm"},"src/twind-node.ts":{"bytes":75,"imports":[{"path":"@twind/with-react/pipeableStream","kind":"import-statement","external":true}],"format":"esm"},"src/twind-ssr.ts":{"bytes":75,"imports":[{"path":"@twind/with-react/readableStream","kind":"import-statement","external":true}],"format":"esm"},"src/twind.ts":{"bytes":1912,"imports":[{"path":"@twind/with-react","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"src/twind-config.ts","kind":"import-statement","original":"./twind-config.js"},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/with-react/inline","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/colors.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/colors.js":{"imports":[{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"}],"exports":["colorPalette"],"entryPoint":"src/colors.ts","inputs":{},"bytes":81},"dist/system.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":445},"dist/system.js":{"imports":[{"path":"@radix-ui/themes","kind":"import-statement","external":true},{"path":"@formkit/auto-animate/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"@floating-ui/react","kind":"import-statement","external":true},{"path":"react-hot-toast","kind":"import-statement","external":true}],"exports":["ToggleGroup","useAutoAnimate"],"entryPoint":"src/system.ts","inputs":{"src/system.ts":{"bytesInOutput":226}},"bytes":287},"dist/twind-config.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/twind-config.js":{"imports":[{"path":"dist/chunk-JJJXAZF2.js","kind":"import-statement"},{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/twind-config.ts","inputs":{},"bytes":138},"dist/twind-node.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":229},"dist/twind-node.js":{"imports":[{"path":"@twind/with-react/pipeableStream","kind":"import-statement","external":true}],"exports":["TwindStream"],"entryPoint":"src/twind-node.ts","inputs":{"src/twind-node.ts":{"bytesInOutput":72}},"bytes":131},"dist/twind-ssr.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":228},"dist/twind-ssr.js":{"imports":[{"path":"@twind/with-react/readableStream","kind":"import-statement","external":true}],"exports":["TwindStream"],"entryPoint":"src/twind-ssr.ts","inputs":{"src/twind-ssr.ts":{"bytesInOutput":72}},"bytes":130},"dist/twind.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":3111},"dist/twind.js":{"imports":[{"path":"dist/chunk-JJJXAZF2.js","kind":"import-statement"},{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"},{"path":"@twind/with-react","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/with-react/inline","kind":"import-statement","external":true}],"exports":["apply","colors","css","getSheet","injectGlobal","inline","keyframes","observe","parse","parseValue","setupTwindReact","sheet","style","tw","tx"],"entryPoint":"src/twind.ts","inputs":{"src/twind.ts":{"bytesInOutput":1601}},"bytes":1893},"dist/chunk-JJJXAZF2.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":23729},"dist/chunk-JJJXAZF2.js":{"imports":[{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/preset-autoprefix","kind":"import-statement","external":true},{"path":"@twind/preset-container-queries","kind":"import-statement","external":true},{"path":"@twind/preset-ext","kind":"import-statement","external":true},{"path":"@twind/preset-line-clamp","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind-forms","kind":"import-statement","external":true}],"exports":["twind_config_default"],"inputs":{"src/twind-config.ts":{"bytesInOutput":13976}},"bytes":14090},"dist/chunk-JA3MEJAB.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":15572},"dist/chunk-JA3MEJAB.js":{"imports":[],"exports":["colorPalette"],"inputs":{"src/colors.ts":{"bytesInOutput":9969}},"bytes":10014}}}
1
+ {"inputs":{"src/colors.ts":{"bytes":10001,"imports":[],"format":"esm"},"src/system.ts":{"bytes":497,"imports":[{"path":"@radix-ui/themes","kind":"import-statement","external":true},{"path":"@formkit/auto-animate/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"@floating-ui/react","kind":"import-statement","external":true},{"path":"react-hot-toast","kind":"import-statement","external":true}],"format":"esm"},"src/twind-config.ts":{"bytes":14248,"imports":[{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/preset-autoprefix","kind":"import-statement","external":true},{"path":"@twind/preset-container-queries","kind":"import-statement","external":true},{"path":"@twind/preset-ext","kind":"import-statement","external":true},{"path":"@twind/preset-line-clamp","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind-forms","kind":"import-statement","external":true},{"path":"@twind/preset-typography","kind":"import-statement","external":true},{"path":"src/colors.ts","kind":"import-statement","original":"./colors"}],"format":"esm"},"src/twind-node.ts":{"bytes":75,"imports":[{"path":"@twind/with-react/pipeableStream","kind":"import-statement","external":true}],"format":"esm"},"src/twind-ssr.ts":{"bytes":75,"imports":[{"path":"@twind/with-react/readableStream","kind":"import-statement","external":true}],"format":"esm"},"src/twind.ts":{"bytes":1912,"imports":[{"path":"@twind/with-react","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"src/twind-config.ts","kind":"import-statement","original":"./twind-config.js"},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/with-react/inline","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/colors.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/colors.js":{"imports":[{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"}],"exports":["colorPalette"],"entryPoint":"src/colors.ts","inputs":{},"bytes":81},"dist/system.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":875},"dist/system.js":{"imports":[{"path":"@radix-ui/themes","kind":"import-statement","external":true},{"path":"@formkit/auto-animate/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"@floating-ui/react","kind":"import-statement","external":true},{"path":"react-hot-toast","kind":"import-statement","external":true}],"exports":["FloatingArrow","FloatingPortal","Toaster","ToggleGroup","arrow","autoPlacement","autoUpdate","flip","offset","safePolygon","shift","toast","useAutoAnimate","useClientPoint","useDismiss","useFloating","useHover","useInteractions","useMergeRefs"],"entryPoint":"src/system.ts","inputs":{"src/system.ts":{"bytesInOutput":455}},"bytes":747},"dist/twind-config.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/twind-config.js":{"imports":[{"path":"dist/chunk-JJJXAZF2.js","kind":"import-statement"},{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/twind-config.ts","inputs":{},"bytes":138},"dist/twind-node.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":229},"dist/twind-node.js":{"imports":[{"path":"@twind/with-react/pipeableStream","kind":"import-statement","external":true}],"exports":["TwindStream"],"entryPoint":"src/twind-node.ts","inputs":{"src/twind-node.ts":{"bytesInOutput":72}},"bytes":131},"dist/twind-ssr.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":228},"dist/twind-ssr.js":{"imports":[{"path":"@twind/with-react/readableStream","kind":"import-statement","external":true}],"exports":["TwindStream"],"entryPoint":"src/twind-ssr.ts","inputs":{"src/twind-ssr.ts":{"bytesInOutput":72}},"bytes":130},"dist/twind.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":3111},"dist/twind.js":{"imports":[{"path":"dist/chunk-JJJXAZF2.js","kind":"import-statement"},{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"},{"path":"@twind/with-react","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/with-react/inline","kind":"import-statement","external":true}],"exports":["apply","colors","css","getSheet","injectGlobal","inline","keyframes","observe","parse","parseValue","setupTwindReact","sheet","style","tw","tx"],"entryPoint":"src/twind.ts","inputs":{"src/twind.ts":{"bytesInOutput":1601}},"bytes":1893},"dist/chunk-JJJXAZF2.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":23729},"dist/chunk-JJJXAZF2.js":{"imports":[{"path":"dist/chunk-JA3MEJAB.js","kind":"import-statement"},{"path":"@twind/core","kind":"import-statement","external":true},{"path":"@twind/preset-autoprefix","kind":"import-statement","external":true},{"path":"@twind/preset-container-queries","kind":"import-statement","external":true},{"path":"@twind/preset-ext","kind":"import-statement","external":true},{"path":"@twind/preset-line-clamp","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind","kind":"import-statement","external":true},{"path":"@twind/preset-tailwind-forms","kind":"import-statement","external":true}],"exports":["twind_config_default"],"inputs":{"src/twind-config.ts":{"bytesInOutput":13976}},"bytes":14090},"dist/chunk-JA3MEJAB.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":15572},"dist/chunk-JA3MEJAB.js":{"imports":[],"exports":["colorPalette"],"inputs":{"src/colors.ts":{"bytesInOutput":9969}},"bytes":10014}}}
package/dist/system.d.ts CHANGED
@@ -2,7 +2,7 @@ export * from '@radix-ui/themes';
2
2
  export { useAutoAnimate } from '@formkit/auto-animate/react';
3
3
  import * as reactToggleGroup from '@radix-ui/react-toggle-group';
4
4
  export { reactToggleGroup as ToggleGroup };
5
- export * from '@floating-ui/react';
6
- export * from 'react-hot-toast';
5
+ export { FloatingArrow, FloatingPortal, Placement, arrow, autoPlacement, autoUpdate, flip, offset, safePolygon, shift, useClientPoint, useDismiss, useFloating, useHover, useInteractions, useMergeRefs } from '@floating-ui/react';
6
+ export { Toaster, toast } from 'react-hot-toast';
7
7
  import '@twind/with-react/pipeableStream';
8
8
  import '@twind/with-react/readableStream';
package/dist/system.js CHANGED
@@ -2,10 +2,43 @@
2
2
  export * from "@radix-ui/themes";
3
3
  import { useAutoAnimate } from "@formkit/auto-animate/react";
4
4
  import * as ToggleGroup from "@radix-ui/react-toggle-group";
5
- export * from "@floating-ui/react";
6
- export * from "react-hot-toast";
5
+ import {
6
+ useDismiss,
7
+ useFloating,
8
+ useMergeRefs,
9
+ autoPlacement,
10
+ offset,
11
+ useHover,
12
+ useInteractions,
13
+ safePolygon,
14
+ autoUpdate,
15
+ FloatingPortal,
16
+ useClientPoint,
17
+ flip,
18
+ arrow,
19
+ shift,
20
+ FloatingArrow
21
+ } from "@floating-ui/react";
22
+ import { toast, Toaster } from "react-hot-toast";
7
23
  export {
24
+ FloatingArrow,
25
+ FloatingPortal,
26
+ Toaster,
8
27
  ToggleGroup,
9
- useAutoAnimate
28
+ arrow,
29
+ autoPlacement,
30
+ autoUpdate,
31
+ flip,
32
+ offset,
33
+ safePolygon,
34
+ shift,
35
+ toast,
36
+ useAutoAnimate,
37
+ useClientPoint,
38
+ useDismiss,
39
+ useFloating,
40
+ useHover,
41
+ useInteractions,
42
+ useMergeRefs
10
43
  };
11
44
  //# sourceMappingURL=system.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/system.ts"],"sourcesContent":["export * from \"@radix-ui/themes\";\nexport { useAutoAnimate } from \"@formkit/auto-animate/react\";\n// with portal support\nexport * as ToggleGroup from \"@radix-ui/react-toggle-group\";\nexport * from \"@floating-ui/react\";\nexport * from \"react-hot-toast\";\n"],"mappings":";AAAA,cAAc;AACd,SAAS,sBAAsB;AAE/B,YAAY,iBAAiB;AAC7B,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../src/system.ts"],"sourcesContent":["export * from \"@radix-ui/themes\";\nexport { useAutoAnimate } from \"@formkit/auto-animate/react\";\n// with portal support\nexport * as ToggleGroup from \"@radix-ui/react-toggle-group\";\nexport {\n useDismiss,\n useFloating,\n useMergeRefs,\n autoPlacement,\n offset,\n useHover,\n useInteractions,\n safePolygon,\n autoUpdate,\n type Placement,\n FloatingPortal,\n useClientPoint,\n flip,\n arrow,\n shift,\n FloatingArrow,\n} from \"@floating-ui/react\";\nexport { toast, Toaster } from \"react-hot-toast\";\n"],"mappings":";AAAA,cAAc;AACd,SAAS,sBAAsB;AAE/B,YAAY,iBAAiB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,OAAO,eAAe;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstart.gg/style-system",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "description": "Base tailwindcss setup with some extra plugins as well as colors and editor styles",
5
5
  "type": "module",
6
6
  "exports": {
package/src/system.ts CHANGED
@@ -2,5 +2,22 @@ export * from "@radix-ui/themes";
2
2
  export { useAutoAnimate } from "@formkit/auto-animate/react";
3
3
  // with portal support
4
4
  export * as ToggleGroup from "@radix-ui/react-toggle-group";
5
- export * from "@floating-ui/react";
6
- export * from "react-hot-toast";
5
+ export {
6
+ useDismiss,
7
+ useFloating,
8
+ useMergeRefs,
9
+ autoPlacement,
10
+ offset,
11
+ useHover,
12
+ useInteractions,
13
+ safePolygon,
14
+ autoUpdate,
15
+ type Placement,
16
+ FloatingPortal,
17
+ useClientPoint,
18
+ flip,
19
+ arrow,
20
+ shift,
21
+ FloatingArrow,
22
+ } from "@floating-ui/react";
23
+ export { toast, Toaster } from "react-hot-toast";
package/tsup.config.ts CHANGED
@@ -7,7 +7,7 @@ export default defineConfig((options) => {
7
7
  format: "esm",
8
8
  logLevel: "warn",
9
9
  dts: true,
10
- target: "es2022",
10
+ target: "esnext",
11
11
  metafile: !!(process.env.CI || process.env.ANALYZE_BUNDLE),
12
12
  clean: !options.watch,
13
13
  minify: false,