@kaizen/components 1.68.8 → 1.68.9
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/esm/Calendar/CalendarPopover/CalendarPopover.mjs +1 -1
- package/dist/esm/EmptyState/EmptyState.mjs +1 -1
- package/dist/esm/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.mjs +1 -1
- package/dist/esm/MultiSelect/subcomponents/Popover/Popover.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/RichTextEditor.mjs +1 -1
- package/dist/esm/RichTextEditor/RichTextEditor/schema.mjs +1 -1
- package/dist/esm/RichTextEditor/utils/schema/nodes.mjs +1 -1
- package/dist/esm/TimeField/TimeField.mjs +1 -1
- package/dist/esm/__overlays__/Tooltip/v1/Tooltip.mjs +1 -1
- package/dist/styles.css +44 -44
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { useFloating,
|
|
3
|
+
import { useFloating, size, offset, autoPlacement, autoUpdate } from '@floating-ui/react-dom';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import styles from './CalendarPopover.module.scss.mjs';
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { Heading } from '../Heading/Heading.mjs';
|
|
5
5
|
import '../Illustration/subcomponents/Base/Base.mjs';
|
|
6
6
|
import '../Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.mjs';
|
|
7
|
-
import {
|
|
7
|
+
import { EmptyStatesPositive, EmptyStatesNegative, EmptyStatesInformative, EmptyStatesNeutral } from '../Illustration/Scene/Scene.mjs';
|
|
8
8
|
import { Text } from '../Text/Text.mjs';
|
|
9
9
|
import styles from './EmptyState.module.css.mjs';
|
|
10
10
|
var ILLUSTRATIONS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __assign, __spreadArray } from 'tslib';
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { useSelectionContext } from '../../context/SelectionProvider/SelectionProvider.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
|
-
import { useFloating,
|
|
4
|
+
import { useFloating, offset, flip, size, autoUpdate } from '@floating-ui/react-dom';
|
|
5
5
|
import classnames from 'classnames';
|
|
6
6
|
import { FocusOn } from 'react-focus-on';
|
|
7
7
|
import styles from './Popover.module.scss.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest,
|
|
1
|
+
import { __rest, __assign, __spreadArray } from 'tslib';
|
|
2
2
|
import React, { useId, useState, useEffect } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { FieldMessage } from '../../FieldMessage/FieldMessage.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import { nodes } from 'prosemirror-schema-basic';
|
|
3
|
-
import {
|
|
3
|
+
import { orderedList, bulletList, listItem } from 'prosemirror-schema-list';
|
|
4
4
|
var getNodes = function () {
|
|
5
5
|
// We use camel case names instead of ProseMirror's snake case, so we remove any snake case properties here before spreading
|
|
6
6
|
var hardBreak = nodes.hard_break,
|
|
@@ -3,7 +3,7 @@ import React, { useState, useId, useRef, useEffect, cloneElement } from 'react';
|
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { usePopper } from 'react-popper';
|
|
6
|
-
import {
|
|
6
|
+
import { AnimationProvider, useAnimation } from './subcomponents/AppearanceAnim.mjs';
|
|
7
7
|
import { isSemanticElement } from './utils/isSemanticElement.mjs';
|
|
8
8
|
import styles from './Tooltip.module.scss.mjs';
|
|
9
9
|
var positionToPlacement = new Map([['above', 'top'], ['below', 'bottom'], ['left', 'left'], ['right', 'right']]);
|
package/dist/styles.css
CHANGED
|
@@ -312,6 +312,26 @@
|
|
|
312
312
|
visibility: hidden;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
+
.ButtonContent-module_buttonContent__v5mHZ {
|
|
316
|
+
display: inline-flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
gap: var(--button-icon-gap, var(--spacing-6));
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.ButtonContent-module_large__mLOdb {
|
|
322
|
+
--button-icon-gap: var(--spacing-8);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.ButtonContent-module_buttonLabel__T5XAq {
|
|
326
|
+
display: inline-flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.ButtonContent-module_buttonIcon__qkAX- {
|
|
331
|
+
display: inline-flex;
|
|
332
|
+
align-items: center;
|
|
333
|
+
}
|
|
334
|
+
|
|
315
335
|
.PendingContent-module_pendingContent__c4IFS {
|
|
316
336
|
display: inline-flex;
|
|
317
337
|
align-items: center;
|
|
@@ -329,26 +349,34 @@
|
|
|
329
349
|
transform: translate(-50%, -50%);
|
|
330
350
|
}
|
|
331
351
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
352
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
353
|
+
/** THIS IS AN AUTOGENERATED FILE **/
|
|
354
|
+
.OverlayArrow-module_overlayArrow__hoDyK {
|
|
355
|
+
display: flex;
|
|
356
|
+
padding: 8px;
|
|
336
357
|
}
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
--button-icon-gap: var(--spacing-8);
|
|
358
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
|
|
359
|
+
padding: 0 8px;
|
|
340
360
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
display: inline-flex;
|
|
344
|
-
align-items: center;
|
|
361
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
|
|
362
|
+
padding: 8px 0;
|
|
345
363
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
364
|
+
.OverlayArrow-module_overlayArrow__hoDyK path {
|
|
365
|
+
fill: var(--color-purple-800, #2f2438);
|
|
366
|
+
box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
|
|
367
|
+
}
|
|
368
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
|
|
369
|
+
transform: rotate(90deg);
|
|
370
|
+
}
|
|
371
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
|
|
372
|
+
transform: rotate(180deg);
|
|
373
|
+
}
|
|
374
|
+
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
|
|
375
|
+
transform: rotate(270deg);
|
|
376
|
+
}
|
|
377
|
+
.OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
|
|
378
|
+
fill: var(--color-white, #ffffff);
|
|
350
379
|
}
|
|
351
|
-
|
|
352
380
|
.Focusable-module_focusableWrapper__NfuIi {
|
|
353
381
|
display: inline-flex;
|
|
354
382
|
}
|
|
@@ -408,34 +436,6 @@
|
|
|
408
436
|
opacity: 1;
|
|
409
437
|
}
|
|
410
438
|
}
|
|
411
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
412
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
413
|
-
.OverlayArrow-module_overlayArrow__hoDyK {
|
|
414
|
-
display: flex;
|
|
415
|
-
padding: 8px;
|
|
416
|
-
}
|
|
417
|
-
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=top], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] {
|
|
418
|
-
padding: 0 8px;
|
|
419
|
-
}
|
|
420
|
-
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left], .OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] {
|
|
421
|
-
padding: 8px 0;
|
|
422
|
-
}
|
|
423
|
-
.OverlayArrow-module_overlayArrow__hoDyK path {
|
|
424
|
-
fill: var(--color-purple-800, #2f2438);
|
|
425
|
-
box-shadow: var(--shadow-small-box-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 16px 0 rgba(0, 0, 0, 0.06));
|
|
426
|
-
}
|
|
427
|
-
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=right] svg {
|
|
428
|
-
transform: rotate(90deg);
|
|
429
|
-
}
|
|
430
|
-
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=bottom] svg {
|
|
431
|
-
transform: rotate(180deg);
|
|
432
|
-
}
|
|
433
|
-
.OverlayArrow-module_overlayArrow__hoDyK[data-placement=left] svg {
|
|
434
|
-
transform: rotate(270deg);
|
|
435
|
-
}
|
|
436
|
-
.OverlayArrow-module_overlayArrow__hoDyK.OverlayArrow-module_reversed__-WGcR path {
|
|
437
|
-
fill: var(--color-white, #ffffff);
|
|
438
|
-
}
|
|
439
439
|
/*
|
|
440
440
|
* This is taken from the Material Symbols CDN
|
|
441
441
|
* font-weight & font-size removed as overridden in .icon
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.68.
|
|
3
|
+
"version": "1.68.9",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -104,21 +104,21 @@
|
|
|
104
104
|
"postcss": "^8.4.49",
|
|
105
105
|
"postcss-cli": "^11.0.0",
|
|
106
106
|
"postcss-import": "^16.1.0",
|
|
107
|
-
"postcss-preset-env": "^10.
|
|
107
|
+
"postcss-preset-env": "^10.1.1",
|
|
108
108
|
"postcss-scss": "^4.0.9",
|
|
109
109
|
"query-string": "^9.1.1",
|
|
110
110
|
"react": "^18.3.1",
|
|
111
111
|
"react-dom": "^18.3.1",
|
|
112
112
|
"react-highlight": "^0.15.0",
|
|
113
113
|
"react-intl": "^6.8.9",
|
|
114
|
-
"rollup": "^4.
|
|
114
|
+
"rollup": "^4.28.0",
|
|
115
115
|
"sass": "1.79.6",
|
|
116
116
|
"serialize-query-params": "^2.0.2",
|
|
117
117
|
"svgo": "^3.3.2",
|
|
118
|
-
"tslib": "^2.8.
|
|
118
|
+
"tslib": "^2.8.1",
|
|
119
119
|
"tsx": "^4.19.2",
|
|
120
|
-
"@kaizen/design-tokens": "10.8.
|
|
121
|
-
"@kaizen/package-bundler": "2.0.
|
|
120
|
+
"@kaizen/design-tokens": "10.8.6",
|
|
121
|
+
"@kaizen/package-bundler": "2.0.3"
|
|
122
122
|
},
|
|
123
123
|
"devDependenciesComments": {
|
|
124
124
|
"sass": "Prevent deprecation warnings introduced in 1.80 as we plan to move away from sass",
|