@webority/ui-react 0.95.0 → 0.96.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.
@@ -2,7 +2,7 @@
2
2
  "kind": "WeborityWeb",
3
3
  "library": {
4
4
  "name": "@webority/ui-react",
5
- "version": "0.95.0"
5
+ "version": "0.96.0"
6
6
  },
7
7
  "rendererProtocolVersion": 7,
8
8
  "platform": "Web",
@@ -24709,7 +24709,7 @@
24709
24709
  "dark": "#2a2f3a"
24710
24710
  },
24711
24711
  "chart-label": {
24712
- "light": "#687088",
24712
+ "light": "#626a82",
24713
24713
  "dark": "#8a90a0"
24714
24714
  },
24715
24715
  "chart-neutral": {
@@ -24841,7 +24841,7 @@
24841
24841
  "dark": "#e6e8ee29"
24842
24842
  },
24843
24843
  "neutral-soft": {
24844
- "light": "#68708829",
24844
+ "light": "#626a8229",
24845
24845
  "dark": "#8a90a029"
24846
24846
  },
24847
24847
  "neutral-text": {
@@ -25005,7 +25005,7 @@
25005
25005
  "dark": "#b4b9c6"
25006
25006
  },
25007
25007
  "text-subtle": {
25008
- "light": "#687088",
25008
+ "light": "#626a82",
25009
25009
  "dark": "#8a90a0"
25010
25010
  },
25011
25011
  "thumb": {
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "webority-web",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "platform": "Web",
5
5
  "kitModuleVersion": 2,
6
6
  "rendererProtocolVersion": 7,
7
7
  "library": {
8
8
  "name": "@webority/ui-react",
9
- "version": "0.95.0"
9
+ "version": "0.96.0"
10
10
  },
11
11
  "files": {
12
12
  "manifest.json": {
13
- "sha256": "6d67f97e3c91f45b4fb41be886bbf585a291578ea21385067c5339523f7f7320",
13
+ "sha256": "bfef4d89fb7f152cb2e19148d43157eeb19846f506f65139cfb927e801fce412",
14
14
  "bytes": 836515
15
15
  },
16
16
  "kit.js": {
17
- "sha256": "092a8160e2557bdb8d82c61d1a2729d06b629ce83d3c070cec50f84eef744e9b",
18
- "bytes": 10847993
17
+ "sha256": "2a085aa7fb967f7aea66286486aa2e783b837f1bb995be708282697c08a186de",
18
+ "bytes": 10848338
19
19
  },
20
20
  "kit.css": {
21
21
  "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
@@ -1 +1 @@
1
- import{wuiMarkerAttributes as e}from"../lib/wuiMarker.js";import t from"./warnInvalidValue.js";import n from"./warnUnknownProps.js";import{shortcutChip as r}from"../lib/shortcutChip.js";import{cloneElement as i,useId as a}from"react";import{OverlayTrigger as o,Tooltip as s}from"react-bootstrap";import{jsx as c,jsxs as l}from"react/jsx-runtime";var u=[`default`,`dark`,`primary`,`success`,`warning`,`danger`],d=[`sm`,`md`,`lg`],f={start:`left`,end:`right`,top:`top`,bottom:`bottom`},p=[`auto`,`top`,`bottom`,`start`,`end`];function m(m){let{content:h,children:g,placement:_=`top`,tone:v=`default`,size:y=`md`,open:b,shortcut:x,className:S=``,...C}=m;n(`AppTooltip`,C),t(`AppTooltip`,`tone`,v,u),t(`AppTooltip`,`size`,y,d),t(`AppTooltip`,`placement`,_,p);let w=l(s,{id:a(),className:[`wui-tooltip`,v&&v!=="default"?`tone-${v}`:``,y&&y!==`md`?`size-${y}`:``,S].filter(Boolean).join(` `),...e(`AppTooltip`,m),children:[h,r(x,{inTooltip:!0})]});return c(o,{trigger:[`hover`,`focus`],placement:f[_]||_,show:typeof b==`boolean`?b:void 0,overlay:w,children:i(g,C)})}export{m as default};
1
+ import{wuiMarkerAttributes as e}from"../lib/wuiMarker.js";import t from"./warnInvalidValue.js";import n from"./warnUnknownProps.js";import{shortcutChip as r}from"../lib/shortcutChip.js";import{cloneElement as i,useId as a,useState as o}from"react";import{OverlayTrigger as s,Tooltip as c}from"react-bootstrap";import{jsx as l,jsxs as u}from"react/jsx-runtime";var d=[`default`,`dark`,`primary`,`success`,`warning`,`danger`],f=[`sm`,`md`,`lg`],p={start:`left`,end:`right`,top:`top`,bottom:`bottom`},m=[`auto`,`top`,`bottom`,`start`,`end`],h={modifiers:[{name:`offset`,options:{offset:[0,6]}}]};function g(g){let{content:_,children:v,placement:y=`top`,tone:b=`default`,size:x=`md`,open:S,shortcut:C,className:w=``,...T}=g;n(`AppTooltip`,T),t(`AppTooltip`,`tone`,b,d),t(`AppTooltip`,`size`,x,f),t(`AppTooltip`,`placement`,y,m);let E=a(),[D,O]=o(!1),k=typeof S==`boolean`,A=u(c,{id:E,className:[`wui-tooltip`,b&&b!=="default"?`tone-${b}`:``,x&&x!==`md`?`size-${x}`:``,w].filter(Boolean).join(` `),...e(`AppTooltip`,g),children:[_,r(C,{inTooltip:!0})]}),j=e=>{v.props.onClick?.(e),T.onClick?.(e),O(!1)};return l(s,{trigger:[`hover`,`focus`],placement:p[y]||y,popperConfig:h,show:k?S:D,onToggle:k?void 0:e=>O(e),overlay:A,children:k?i(v,T):i(v,{...T,onClick:j})})}export{g as default};
@@ -2,7 +2,7 @@
2
2
  "format": "webority-guidance/1",
3
3
  "package": {
4
4
  "name": "@webority/ui-react",
5
- "version": "0.95.0"
5
+ "version": "0.96.0"
6
6
  },
7
7
  "components": [
8
8
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/ui-react",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
- "@webority/theme": "0.95.0",
33
- "@webority/ui-elements": "0.95.0"
32
+ "@webority/theme": "0.96.0",
33
+ "@webority/ui-elements": "0.96.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@webority/analytics": "^0.26.0",
@@ -56,8 +56,8 @@
56
56
  "typescript": "^7.0.2",
57
57
  "vite": "^8.0.12",
58
58
  "vitest": "5.0.1",
59
- "@webority/canvas-kit": "0.95.0",
60
- "@webority/tokens": "0.95.0"
59
+ "@webority/canvas-kit": "0.96.0",
60
+ "@webority/tokens": "0.96.0"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "vite build && tsc -p tsconfig.json && node ../../scripts/inject-meta-docs.mjs && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit && node ../canvas-kit/dist/cli.js guidance --config canvas-kit.json --out dist/guidance.json && node ../../scripts/sync-rcl-assets.mjs analytics",