@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.
- package/dist/canvas-kit/kit.js +12992 -12982
- package/dist/canvas-kit/manifest.json +4 -4
- package/dist/canvas-kit/release.json +5 -5
- package/dist/components/AppTooltip.js +1 -1
- package/dist/guidance.json +1 -1
- package/package.json +5 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"kind": "WeborityWeb",
|
|
3
3
|
"library": {
|
|
4
4
|
"name": "@webority/ui-react",
|
|
5
|
-
"version": "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": "#
|
|
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": "#
|
|
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": "#
|
|
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.
|
|
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.
|
|
9
|
+
"version": "0.96.0"
|
|
10
10
|
},
|
|
11
11
|
"files": {
|
|
12
12
|
"manifest.json": {
|
|
13
|
-
"sha256": "
|
|
13
|
+
"sha256": "bfef4d89fb7f152cb2e19148d43157eeb19846f506f65139cfb927e801fce412",
|
|
14
14
|
"bytes": 836515
|
|
15
15
|
},
|
|
16
16
|
"kit.js": {
|
|
17
|
-
"sha256": "
|
|
18
|
-
"bytes":
|
|
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
|
|
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};
|
package/dist/guidance.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "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.
|
|
33
|
-
"@webority/ui-elements": "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.
|
|
60
|
-
"@webority/tokens": "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",
|