arxatec-ui 0.1.4 → 0.1.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.
package/README.md CHANGED
@@ -4,7 +4,7 @@ React component kit for **Arxatec** products: primitives built on **Radix UI**,
4
4
 
5
5
  ## Requirements
6
6
 
7
- - **React** 18 or 19 (`react` and `react-dom` are *peer dependencies*).
7
+ - **React** 18 or 19 (`react` and `react-dom` are _peer dependencies_).
8
8
  - A bundler that supports **ESM** (recommended: **Vite**).
9
9
  - **Tailwind CSS v4** and the **`@tailwindcss/vite`** plugin (or an equivalent pipeline that processes the library stylesheet).
10
10
 
@@ -121,13 +121,13 @@ import "leaflet/dist/leaflet.css";
121
121
 
122
122
  ## Developing this repo
123
123
 
124
- | Command | Description |
125
- |--------|-------------|
126
- | `npm run dev` | Vite playground (style guide). |
127
- | `npm run storybook` | Storybook on port 6006. |
128
- | `npm run build:lib` | Build `dist/` for npm. |
129
- | `npm run build` | Playground production build. |
130
- | `npm run lint` | ESLint. |
124
+ | Command | Description |
125
+ | ------------------- | ------------------------------ |
126
+ | `npm run dev` | Vite playground (style guide). |
127
+ | `npm run storybook` | Storybook on port 6006. |
128
+ | `npm run build:lib` | Build `dist/` for npm. |
129
+ | `npm run build` | Playground production build. |
130
+ | `npm run lint` | ESLint. |
131
131
 
132
132
  Publishing to npm requires **2FA**; use `npm publish --otp=...` when prompted.
133
133
 
@@ -1,2 +1,2 @@
1
- :root{--editor-text-default:#09090b;--editor-text-gray:#71717a;--editor-text-brown:#f97415;--editor-text-orange:#f97015;--editor-text-yellow:#facc14;--editor-text-green:#21c45d;--editor-text-blue:#2463eb;--editor-text-purple:#d8b4fe;--editor-text-pink:#ea3e83;--editor-text-red:#ef4343;--editor-bg-default:#fff;--editor-bg-subtle:#fafafa;--editor-bg-muted:#f4f4f5;--editor-highlight-default:#fafafa;--editor-highlight-gray:#f4f4f5;--editor-highlight-brown:#fff9eb;--editor-highlight-orange:#fff6eb;--editor-highlight-yellow:#fffdeb;--editor-highlight-green:#eefcf3;--editor-highlight-blue:#ecf3fe;--editor-highlight-purple:#f4ebff;--editor-highlight-pink:#fdedf3;--editor-highlight-red:#fdecec;--editor-border-default:#dfdfe2;--editor-border-strong:#a1a1aa;--editor-spacing-1:.25rem;--editor-spacing-2:.5rem;--editor-spacing-3:.75rem;--editor-spacing-4:1rem;--editor-spacing-6:1.5rem;--editor-spacing-8:2rem;--editor-spacing-12:3rem;--editor-spacing-16:4rem;--editor-font-sans:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--editor-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--editor-font-serif:Georgia, Cambria, "Times New Roman", Times, serif;--editor-transition-fast:.15s cubic-bezier(.4, 0, .2, 1);--editor-transition-normal:.2s cubic-bezier(.4, 0, .2, 1);--editor-transition-slow:.3s cubic-bezier(.4, 0, .2, 1);--editor-shadow-sm:0 1px 2px 0 #0000000d;--editor-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--editor-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a}.dark{--editor-text-default:#fafafa;--editor-text-gray:#a1a1aa;--editor-text-brown:#f97415;--editor-text-orange:#f97015;--editor-text-yellow:#facc14;--editor-text-green:#21c45d;--editor-text-blue:#2463eb;--editor-text-purple:#d8b4fe;--editor-text-pink:#ea3e83;--editor-text-red:#ef4343;--editor-bg-default:#09090b;--editor-bg-subtle:#27272a;--editor-bg-muted:#3f3f46;--editor-highlight-default:#27272a;--editor-highlight-gray:#3f3f46;--editor-highlight-brown:#322401;--editor-highlight-orange:#331c00;--editor-highlight-yellow:#332e00;--editor-highlight-green:#072c15;--editor-highlight-blue:#021431;--editor-highlight-purple:#190132;--editor-highlight-pink:#2e0515;--editor-highlight-red:#2f0404;--editor-border-default:#3f3f46;--editor-border-strong:#a1a1aa}.ProseMirror{caret-color:var(--editor-text-default);padding:var(--editor-spacing-16) var(--editor-spacing-8);max-width:90ch;font-family:var(--editor-font-sans);color:var(--editor-text-default);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none;min-height:100vh;margin:0 auto;position:relative}.is-expanded .ProseMirror{max-width:1050px}.ProseMirror:focus{box-shadow:none;outline:none}.ProseMirror .selection{background-color:var(--editor-highlight-blue)}.ProseMirror ::selection{background-color:var(--editor-highlight-blue)}.ProseMirror>.react-renderer{margin:var(--editor-spacing-12) 0;transition:all var(--editor-transition-normal)}.ProseMirror>.react-renderer:first-child{margin-top:0}.ProseMirror>.react-renderer:last-child{margin-bottom:0}.ProseMirror p{margin:var(--editor-spacing-4) 0;color:var(--editor-text-default);font-size:1.125rem;line-height:1.75}.ProseMirror>p{margin:var(--editor-spacing-6) 0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4{font-family:var(--editor-font-sans);letter-spacing:-.025em;color:var(--editor-text-default);scroll-margin-top:var(--editor-spacing-16);font-weight:700;line-height:1.2}.ProseMirror h1{margin:var(--editor-spacing-8) 0 var(--editor-spacing-4);font-size:2.5rem}.ProseMirror h2{margin:var(--editor-spacing-8) 0 var(--editor-spacing-4);font-size:2rem}.ProseMirror h3{margin:var(--editor-spacing-6) 0 var(--editor-spacing-3);font-size:1.5rem}.ProseMirror h4{margin:var(--editor-spacing-4) 0 var(--editor-spacing-2);font-size:1.25rem}.ProseMirror a{color:var(--editor-text-blue);cursor:pointer;text-underline-offset:.2em;transition:all var(--editor-transition-fast);text-decoration:underline;text-decoration-thickness:.1em}.ProseMirror a:hover{color:var(--editor-text-blue);text-decoration-thickness:.2em}.ProseMirror code{font-family:var(--editor-font-mono);background-color:var(--editor-bg-muted);color:var(--editor-text-default);border:1px solid var(--editor-border-default);border-radius:4px;padding:.2em .4em;font-size:.9em}.ProseMirror pre{margin:var(--editor-spacing-6) 0;padding:var(--editor-spacing-4);background-color:var(--editor-bg-subtle);border:1px solid var(--editor-border-default);border-radius:8px;overflow-x:auto}.ProseMirror pre code{color:var(--editor-text-default);background-color:#0000;border:none;padding:0;font-size:.875rem;line-height:1.7}.ProseMirror blockquote{margin:var(--editor-spacing-6) 0;padding:var(--editor-spacing-4) var(--editor-spacing-6);border-left:4px solid var(--editor-border-strong);color:var(--editor-text-gray);background-color:var(--editor-bg-subtle);border-radius:0 8px 8px 0;font-style:italic}.ProseMirror ul,.ProseMirror ol{margin:var(--editor-spacing-4) 0;padding-left:var(--editor-spacing-6)}.ProseMirror li{margin:var(--editor-spacing-2) 0;padding-left:var(--editor-spacing-2)}.ProseMirror ul{list-style-type:disc}.ProseMirror ul ul{list-style-type:circle}.ProseMirror ul ul ul{list-style-type:square}.ProseMirror ol{list-style-type:decimal}.ProseMirror ol ol{list-style-type:lower-alpha}.ProseMirror ol ol ol{list-style-type:lower-roman}.ProseMirror table{border-collapse:separate;border-spacing:0;width:100%;margin:var(--editor-spacing-6) 0;border:1px solid var(--editor-border-default);border-radius:8px;overflow:hidden}.ProseMirror th{background-color:var(--editor-bg-subtle);text-align:left;padding:var(--editor-spacing-3) var(--editor-spacing-4);border-bottom:2px solid var(--editor-border-default);font-weight:600}.ProseMirror td{padding:var(--editor-spacing-3) var(--editor-spacing-4);border-bottom:1px solid var(--editor-border-default);transition:background-color var(--editor-transition-fast)}.ProseMirror tr:last-child td{border-bottom:none}.ProseMirror tr:hover td{background-color:var(--editor-bg-subtle)}.ProseMirror img{border:1px solid var(--editor-border-default);max-width:100%;height:auto;box-shadow:var(--editor-shadow-sm);transition:all var(--editor-transition-normal);border-radius:8px;display:block}.ProseMirror img:hover{box-shadow:var(--editor-shadow-lg);transform:translateY(-2px)}.ProseMirror .image-wrapper{margin:var(--editor-spacing-4) 0;flex-direction:column;display:flex}.ProseMirror .image-wrapper.align-left{align-items:flex-start}.ProseMirror .image-wrapper.align-center{align-items:center}.ProseMirror .image-wrapper.align-right{align-items:flex-end}.ProseMirror hr{margin:var(--editor-spacing-8) 0;border:none;border-top:2px solid var(--editor-border-default)}.floating-menu{background-color:var(--editor-bg-default);border:1px solid var(--editor-border-default);box-shadow:var(--editor-shadow-lg);padding:var(--editor-spacing-1);gap:var(--editor-spacing-1);animation:fadeIn var(--editor-transition-normal);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:8px;align-items:center;display:flex}.toolbar-button{height:2.25rem;padding:0 var(--editor-spacing-3);transition:all var(--editor-transition-fast);color:var(--editor-text-default);background-color:#0000;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;font-size:.875rem;font-weight:500;display:inline-flex}.toolbar-button:hover{background-color:var(--editor-bg-subtle);color:var(--editor-text-default)}.toolbar-button:focus-visible{box-shadow:0 0 0 2px var(--editor-border-strong);outline:none}.toolbar-button:disabled{opacity:.5;cursor:not-allowed}.toolbar-button.active{background-color:var(--editor-bg-muted);color:var(--editor-text-blue)}@media (width<=640px){.ProseMirror{padding:var(--editor-spacing-8) var(--editor-spacing-4)}.ProseMirror h1{font-size:2rem}.ProseMirror h2{font-size:1.75rem}.ProseMirror h3{font-size:1.5rem}.ProseMirror h4{font-size:1.25rem}.ProseMirror p{font-size:1rem}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media print{.ProseMirror{max-width:none;padding:0}.floating-menu,.toolbar-button{display:none}}.is-editor-empty:before{color:var(--editor-text-gray);content:attr(data-placeholder);float:left;pointer-events:none;height:0}._wrapper_1t7pv_5 .ProseMirror{max-width:none!important;min-height:0!important;margin:0!important;padding:.375rem .75rem!important}._wrapper_1t7pv_5{min-height:2.5rem}._editorContent_1t7pv_17{font-size:.875rem;line-height:1rem;font-family:var(--font-sans);background:0 0;outline:none;min-height:1rem;padding:.375rem .75rem}._editorContent_1t7pv_17 p,._editorContent_1t7pv_17 li,._editorContent_1t7pv_17 blockquote,._editorContent_1t7pv_17 code,._editorContent_1t7pv_17 strong,._editorContent_1t7pv_17 em,._editorContent_1t7pv_17 u{margin:.5rem 0!important;font-size:.8rem!important;line-height:1rem!important}._editorContent_1t7pv_17 h1{margin:.375rem 0 .25rem!important;font-size:1.125rem!important;font-weight:600!important;line-height:1.35!important}._editorContent_1t7pv_17 h2{margin:.375rem 0 .25rem!important;font-size:1.05rem!important;font-weight:600!important;line-height:1.35!important}._editorContent_1t7pv_17 h3{margin:.35rem 0 .2rem!important;font-size:.95rem!important;font-weight:600!important;line-height:1.3!important}._editorContent_1t7pv_17 h4{margin:.3rem 0 .15rem!important;font-size:.875rem!important;font-weight:600!important;line-height:1.3!important}._editorContent_1t7pv_17 h5,._editorContent_1t7pv_17 h6{margin:.25rem 0!important;font-size:.875rem!important;font-weight:600!important;line-height:1.25!important}._editorContent_1t7pv_17 p{margin:.125rem 0}._editorContent_1t7pv_17 ul,._editorContent_1t7pv_17 ol{margin:.25rem 0;padding-left:1.25rem}._editorContent_1t7pv_17 li{margin:0}._editorContent_1t7pv_17 blockquote{border-left-width:2px;margin:.25rem 0;padding-left:.75rem}._editorContent_1t7pv_17 code{font-size:.8125rem}._editorContent_1t7pv_17 .is-description-editor-empty:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--color-muted-foreground);font-size:.8rem}
1
+ ._wrapper_1vihs_5 .ProseMirror{max-width:none!important;min-height:0!important;margin:0!important;padding:.375rem .75rem!important}._wrapper_1vihs_5{min-height:2.5rem}._editorContent_1vihs_17{font-size:.875rem;line-height:1rem;font-family:var(--font-sans);background:0 0;outline:none;min-height:1rem;padding:.375rem .75rem}._editorContent_1vihs_17 p,._editorContent_1vihs_17 li,._editorContent_1vihs_17 blockquote,._editorContent_1vihs_17 code,._editorContent_1vihs_17 strong,._editorContent_1vihs_17 em,._editorContent_1vihs_17 u{margin:.5rem 0!important;font-size:.8rem!important;line-height:1rem!important}._editorContent_1vihs_17 h1{margin:.375rem 0 .25rem!important;font-size:1.125rem!important;font-weight:600!important;line-height:1.35!important}._editorContent_1vihs_17 h2{margin:.375rem 0 .25rem!important;font-size:1.05rem!important;font-weight:600!important;line-height:1.35!important}._editorContent_1vihs_17 h3{margin:.35rem 0 .2rem!important;font-size:.95rem!important;font-weight:600!important;line-height:1.3!important}._editorContent_1vihs_17 h4{margin:.3rem 0 .15rem!important;font-size:.875rem!important;font-weight:600!important;line-height:1.3!important}._editorContent_1vihs_17 h5,._editorContent_1vihs_17 h6{margin:.25rem 0!important;font-size:.875rem!important;font-weight:600!important;line-height:1.25!important}._editorContent_1vihs_17 p{margin:.125rem 0}._editorContent_1vihs_17 ul,._editorContent_1vihs_17 ol{margin:.25rem 0;padding-left:1.25rem}._editorContent_1vihs_17 li{margin:0}._editorContent_1vihs_17 blockquote{border-left-width:2px;margin:.25rem 0;padding-left:.75rem}._editorContent_1vihs_17 code{font-size:.8125rem}._editorContent_1vihs_17 .is-description-editor-empty:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--color-muted-foreground);font-size:.8rem}
2
2
  /*$vite$:1*/
package/dist/index.js CHANGED
@@ -8406,8 +8406,8 @@ var yl = ({ name: e, label: t, control: n, options: r = [], placeholder: i = "Se
8406
8406
  ]
8407
8407
  });
8408
8408
  }, bl = {
8409
- wrapper: "_wrapper_1t7pv_5",
8410
- editorContent: "_editorContent_1t7pv_17"
8409
+ wrapper: "_wrapper_1vihs_5",
8410
+ editorContent: "_editorContent_1vihs_17"
8411
8411
  };
8412
8412
  //#endregion
8413
8413
  //#region node_modules/marked/lib/marked.esm.js