@jacshuo/onyx 1.4.0 → 2.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.
Files changed (81) hide show
  1. package/dist/Chart/BarChart.cjs +1 -0
  2. package/dist/Chart/BarChart.css +1 -0
  3. package/dist/Chart/BarChart.d.cts +2 -0
  4. package/dist/Chart/BarChart.d.ts +2 -0
  5. package/dist/Chart/BarChart.js +1 -0
  6. package/dist/Chart/LineChart.cjs +1 -0
  7. package/dist/Chart/LineChart.css +1 -0
  8. package/dist/Chart/LineChart.d.cts +2 -0
  9. package/dist/Chart/LineChart.d.ts +2 -0
  10. package/dist/Chart/LineChart.js +1 -0
  11. package/dist/Chart/PieChart.cjs +1 -0
  12. package/dist/Chart/PieChart.css +1 -0
  13. package/dist/Chart/PieChart.d.cts +2 -0
  14. package/dist/Chart/PieChart.d.ts +2 -0
  15. package/dist/Chart/PieChart.js +1 -0
  16. package/dist/Chart/ScatterChart.cjs +1 -0
  17. package/dist/Chart/ScatterChart.css +1 -0
  18. package/dist/Chart/ScatterChart.d.cts +2 -0
  19. package/dist/Chart/ScatterChart.d.ts +2 -0
  20. package/dist/Chart/ScatterChart.js +1 -0
  21. package/dist/Chart/index.cjs +1 -0
  22. package/dist/Chart/index.css +1 -0
  23. package/dist/Chart/index.d.cts +12 -0
  24. package/dist/Chart/index.d.ts +12 -0
  25. package/dist/Chart/index.js +1 -0
  26. package/dist/DataDisplay/index.d.cts +1 -1
  27. package/dist/DataDisplay/index.d.ts +1 -1
  28. package/dist/Disclosure/index.d.cts +1 -1
  29. package/dist/Disclosure/index.d.ts +1 -1
  30. package/dist/Extras/CinePlayer.cjs +1 -1
  31. package/dist/Extras/CinePlayer.js +1 -1
  32. package/dist/Extras/FileExplorer.cjs +9 -2
  33. package/dist/Extras/FileExplorer.js +9 -2
  34. package/dist/Extras/MiniPlayer.cjs +2 -2
  35. package/dist/Extras/MiniPlayer.js +2 -2
  36. package/dist/Extras/TypewriterText.cjs +1 -0
  37. package/dist/Extras/TypewriterText.css +1 -0
  38. package/dist/Extras/TypewriterText.d.cts +2 -0
  39. package/dist/Extras/TypewriterText.d.ts +2 -0
  40. package/dist/Extras/TypewriterText.js +1 -0
  41. package/dist/Extras/index.cjs +11 -4
  42. package/dist/Extras/index.css +1 -0
  43. package/dist/Extras/index.d.cts +3 -1
  44. package/dist/Extras/index.d.ts +3 -1
  45. package/dist/Extras/index.js +11 -4
  46. package/dist/Feedback/index.d.cts +1 -1
  47. package/dist/Feedback/index.d.ts +1 -1
  48. package/dist/Forms/Form.cjs +1 -1
  49. package/dist/Forms/Form.js +1 -1
  50. package/dist/Forms/index.cjs +1 -1
  51. package/dist/Forms/index.d.cts +1 -1
  52. package/dist/Forms/index.d.ts +1 -1
  53. package/dist/Forms/index.js +1 -1
  54. package/dist/Layout/index.d.cts +1 -1
  55. package/dist/Layout/index.d.ts +1 -1
  56. package/dist/Navigation/index.d.cts +1 -1
  57. package/dist/Navigation/index.d.ts +1 -1
  58. package/dist/Overlay/index.d.cts +1 -1
  59. package/dist/Overlay/index.d.ts +1 -1
  60. package/dist/Primitives/index.d.cts +1 -1
  61. package/dist/Primitives/index.d.ts +1 -1
  62. package/dist/_tsup-dts-rollup.d.cts +481 -11
  63. package/dist/_tsup-dts-rollup.d.ts +481 -11
  64. package/dist/index.cjs +12 -5
  65. package/dist/index.css +1 -0
  66. package/dist/index.d.cts +20 -0
  67. package/dist/index.d.ts +20 -0
  68. package/dist/index.js +12 -5
  69. package/dist/styles/Chart/BarChart.css +44 -0
  70. package/dist/styles/Chart/LineChart.css +72 -0
  71. package/dist/styles/Chart/PieChart.css +56 -0
  72. package/dist/styles/Chart/ScatterChart.css +45 -0
  73. package/dist/styles/Extras/TypewriterText.css +55 -0
  74. package/dist/styles/base.css +149 -18
  75. package/dist/styles/tokens/core.css +10 -0
  76. package/dist/styles.css +353 -18
  77. package/dist/theme.cjs +1 -1
  78. package/dist/theme.d.cts +3 -0
  79. package/dist/theme.d.ts +3 -0
  80. package/dist/theme.js +1 -1
  81. package/package.json +1 -1
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ @keyframes tw-blink{0%,to{opacity:1}50%{opacity:0}}@keyframes tw-cursor-out{0%{opacity:1}80%{opacity:1}to{opacity:0}}.tw-cursor{display:inline-block;line-height:1;vertical-align:baseline;user-select:none;transform:scaleY(.88);transform-origin:50% 90%;color:currentColor}.tw-cursor--blink{animation:tw-blink 1s step-end infinite}.tw-cursor--solid{opacity:1;animation:none}.tw-cursor--out{animation:tw-cursor-out .6s ease-out forwards;pointer-events:none}@keyframes chart-line-draw{0%{stroke-dashoffset:3000}to{stroke-dashoffset:0}}@keyframes chart-dot-pop{0%{r:0;opacity:0}to{opacity:1}}@keyframes chart-area-fade{0%{opacity:0}to{opacity:1}}.chart-line-animate{stroke-dasharray:3000;stroke-dashoffset:3000;animation:chart-line-draw 1s ease-out forwards}.chart-line-animate:nth-child(2){animation-delay:.1s}.chart-line-animate:nth-child(3){animation-delay:.2s}.chart-line-animate:nth-child(4){animation-delay:.3s}.chart-line-animate:nth-child(5){animation-delay:.4s}.chart-area-animate{animation:chart-area-fade .8s ease-out forwards;opacity:0}.chart-dot-animate{animation:chart-dot-pop .4s ease-out forwards;animation-delay:.8s;opacity:0}circle.chart-dot{transition:r .15s ease,filter .15s ease;cursor:crosshair}circle.chart-dot:hover,circle.chart-dot.chart-dot--active{filter:drop-shadow(0 0 4px currentColor)}.chart-crosshair{pointer-events:none;transition:opacity .1s ease}@keyframes chart-bar-rise{0%{clip-path:inset(100% 0 0 0);opacity:.5}to{clip-path:inset(0% 0 0 0);opacity:1}}@keyframes chart-bar-extend{0%{clip-path:inset(0 100% 0 0);opacity:.5}to{clip-path:inset(0 0% 0 0);opacity:1}}.chart-bar-v{transition:filter .18s ease}.chart-bar-v.chart-bar-animate{animation:chart-bar-rise .6s cubic-bezier(.22,1,.36,1) both}.chart-bar-h{transition:filter .18s ease}.chart-bar-h.chart-bar-animate{animation:chart-bar-extend .6s cubic-bezier(.22,1,.36,1) both}.chart-bar-v:hover,.chart-bar-h:hover{filter:brightness(1.18);cursor:pointer}.chart-bar-hidden{opacity:0;pointer-events:none}@keyframes chart-pie-scale-in{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes chart-pie-slice-appear{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.chart-pie-animate{transform-origin:center;animation:chart-pie-scale-in .6s cubic-bezier(.34,1.56,.64,1) forwards}.chart-slice{transform-origin:center;transition:transform .2s ease,filter .15s ease;cursor:pointer}.chart-slice-animate-0{animation:chart-pie-slice-appear .4s ease-out 0s both}.chart-slice-animate-1{animation:chart-pie-slice-appear .4s ease-out .06s both}.chart-slice-animate-2{animation:chart-pie-slice-appear .4s ease-out .12s both}.chart-slice-animate-3{animation:chart-pie-slice-appear .4s ease-out .18s both}.chart-slice-animate-4{animation:chart-pie-slice-appear .4s ease-out .24s both}.chart-slice-animate-5{animation:chart-pie-slice-appear .4s ease-out .3s both}.chart-slice-animate-6{animation:chart-pie-slice-appear .4s ease-out .36s both}.chart-slice-animate-7{animation:chart-pie-slice-appear .4s ease-out .42s both}.chart-slice--exploded{filter:brightness(1.12) drop-shadow(0 4px 8px rgba(0,0,0,.25))}.chart-slice--hidden{opacity:.12;pointer-events:none}@keyframes chart-dot-fade-in{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.chart-scatter-dot{transition:r .15s ease,filter .15s ease;cursor:crosshair}.chart-scatter-dot.chart-scatter-dot--animate{animation:chart-dot-fade-in .35s ease-out forwards;opacity:0}.chart-scatter-group:nth-child(1) .chart-scatter-dot{animation-delay:.05s}.chart-scatter-group:nth-child(2) .chart-scatter-dot{animation-delay:.15s}.chart-scatter-group:nth-child(3) .chart-scatter-dot{animation-delay:.25s}.chart-scatter-group:nth-child(4) .chart-scatter-dot{animation-delay:.35s}.chart-scatter-dot:hover{filter:drop-shadow(0 0 5px currentColor)}.chart-cluster-ellipse{pointer-events:none;animation:chart-dot-fade-in .4s ease-out forwards;opacity:0}.chart-scatter-link{pointer-events:none;opacity:.4}
package/dist/index.d.cts CHANGED
@@ -8,6 +8,7 @@ export { Overlay } from './_tsup-dts-rollup.cjs';
8
8
  export { Feedback } from './_tsup-dts-rollup.cjs';
9
9
  export { Extras } from './_tsup-dts-rollup.cjs';
10
10
  export { Forms } from './_tsup-dts-rollup.cjs';
11
+ export { Chart } from './_tsup-dts-rollup.cjs';
11
12
  export { default_alias as default } from './_tsup-dts-rollup.cjs';
12
13
  export { buttonVariants } from './_tsup-dts-rollup.cjs';
13
14
  export { badgeVariants } from './_tsup-dts-rollup.cjs';
@@ -165,6 +166,8 @@ export { FileExplorerProps } from './_tsup-dts-rollup.cjs';
165
166
  export { Masonry } from './_tsup-dts-rollup.cjs';
166
167
  export { MasonryProps } from './_tsup-dts-rollup.cjs';
167
168
  export { MasonryItemData } from './_tsup-dts-rollup.cjs';
169
+ export { TypewriterText } from './_tsup-dts-rollup.cjs';
170
+ export { TypewriterTextProps } from './_tsup-dts-rollup.cjs';
168
171
  export { Form } from './_tsup-dts-rollup.cjs';
169
172
  export { FormItem } from './_tsup-dts-rollup.cjs';
170
173
  export { FormSection } from './_tsup-dts-rollup.cjs';
@@ -177,3 +180,20 @@ export { FormValidationStatus } from './_tsup-dts-rollup.cjs';
177
180
  export { FormValidation } from './_tsup-dts-rollup.cjs';
178
181
  export { ValidationResult } from './_tsup-dts-rollup.cjs';
179
182
  export { ValidateCallback } from './_tsup-dts-rollup.cjs';
183
+ export { LineChart } from './_tsup-dts-rollup.cjs';
184
+ export { LineChartProps } from './_tsup-dts-rollup.cjs';
185
+ export { BarChart } from './_tsup-dts-rollup.cjs';
186
+ export { BarChartProps } from './_tsup-dts-rollup.cjs';
187
+ export { PieChart } from './_tsup-dts-rollup.cjs';
188
+ export { PieChartProps } from './_tsup-dts-rollup.cjs';
189
+ export { ScatterChart } from './_tsup-dts-rollup.cjs';
190
+ export { ScatterChartProps } from './_tsup-dts-rollup.cjs';
191
+ export { ChartSeries } from './_tsup-dts-rollup.cjs';
192
+ export { ChartDataPoint } from './_tsup-dts-rollup.cjs';
193
+ export { PieSlice } from './_tsup-dts-rollup.cjs';
194
+ export { AxisConfig } from './_tsup-dts-rollup.cjs';
195
+ export { LegendItem } from './_tsup-dts-rollup.cjs';
196
+ export { BaseChartProps } from './_tsup-dts-rollup.cjs';
197
+ export { chartContainerVariants } from './_tsup-dts-rollup.cjs';
198
+ export { chartLegendVariants } from './_tsup-dts-rollup.cjs';
199
+ export { chartTooltipVariants } from './_tsup-dts-rollup.cjs';
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { Overlay } from './_tsup-dts-rollup.js';
8
8
  export { Feedback } from './_tsup-dts-rollup.js';
9
9
  export { Extras } from './_tsup-dts-rollup.js';
10
10
  export { Forms } from './_tsup-dts-rollup.js';
11
+ export { Chart } from './_tsup-dts-rollup.js';
11
12
  export { default_alias as default } from './_tsup-dts-rollup.js';
12
13
  export { buttonVariants } from './_tsup-dts-rollup.js';
13
14
  export { badgeVariants } from './_tsup-dts-rollup.js';
@@ -165,6 +166,8 @@ export { FileExplorerProps } from './_tsup-dts-rollup.js';
165
166
  export { Masonry } from './_tsup-dts-rollup.js';
166
167
  export { MasonryProps } from './_tsup-dts-rollup.js';
167
168
  export { MasonryItemData } from './_tsup-dts-rollup.js';
169
+ export { TypewriterText } from './_tsup-dts-rollup.js';
170
+ export { TypewriterTextProps } from './_tsup-dts-rollup.js';
168
171
  export { Form } from './_tsup-dts-rollup.js';
169
172
  export { FormItem } from './_tsup-dts-rollup.js';
170
173
  export { FormSection } from './_tsup-dts-rollup.js';
@@ -177,3 +180,20 @@ export { FormValidationStatus } from './_tsup-dts-rollup.js';
177
180
  export { FormValidation } from './_tsup-dts-rollup.js';
178
181
  export { ValidationResult } from './_tsup-dts-rollup.js';
179
182
  export { ValidateCallback } from './_tsup-dts-rollup.js';
183
+ export { LineChart } from './_tsup-dts-rollup.js';
184
+ export { LineChartProps } from './_tsup-dts-rollup.js';
185
+ export { BarChart } from './_tsup-dts-rollup.js';
186
+ export { BarChartProps } from './_tsup-dts-rollup.js';
187
+ export { PieChart } from './_tsup-dts-rollup.js';
188
+ export { PieChartProps } from './_tsup-dts-rollup.js';
189
+ export { ScatterChart } from './_tsup-dts-rollup.js';
190
+ export { ScatterChartProps } from './_tsup-dts-rollup.js';
191
+ export { ChartSeries } from './_tsup-dts-rollup.js';
192
+ export { ChartDataPoint } from './_tsup-dts-rollup.js';
193
+ export { PieSlice } from './_tsup-dts-rollup.js';
194
+ export { AxisConfig } from './_tsup-dts-rollup.js';
195
+ export { LegendItem } from './_tsup-dts-rollup.js';
196
+ export { BaseChartProps } from './_tsup-dts-rollup.js';
197
+ export { chartContainerVariants } from './_tsup-dts-rollup.js';
198
+ export { chartLegendVariants } from './_tsup-dts-rollup.js';
199
+ export { chartTooltipVariants } from './_tsup-dts-rollup.js';