@nice2dev/icons 1.0.29 → 1.0.31

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 (2) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @nice2dev/icons — Changelog
2
2
 
3
+ ## 1.0.31
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d696bc: fix(exports): order the `types` condition first in package.json `exports`
8
+
9
+ Several packages declared the `types` condition AFTER `import`/`require` in their
10
+ `exports` map, so it was shadowed and never used. This produced the esbuild/rollup
11
+ build warning "The condition 'types' here will never be used as it comes after both
12
+ 'import' and 'require'", and could prevent TypeScript consumers (under `node16` /
13
+ `bundler` module resolution) from picking up the bundled declarations. Moved `types`
14
+ to be the first condition in every affected conditional export. No runtime or public
15
+ API change.
16
+
17
+ - 4910ead: feat!: remove 9 deprecated/redundant controls (BREAKING)
18
+
19
+ Per user feedback, these controls are removed from `@nice2dev/ui` and its facades
20
+ (`@nice2dev/ui-nav`, `@nice2dev/ui-display`, `@nice2dev/omniwerk-shell`):
21
+
22
+ | Removed | Use instead |
23
+ | -------------------------------------- | -------------------------------------------------------------------------------- |
24
+ | `NiceIconButton` | `NiceButton` with an empty label + `leftIcon` (now renders a square icon button) |
25
+ | `NiceToolbar` | `NiceMenu` |
26
+ | `NiceMultiView`, `NiceTabPanel` | `NiceTabs` |
27
+ | `NiceClassicShell`, `NiceCompactShell` | the other `Nice*Shell`s (`NiceDashboardShell`, `NiceModernShell`, …) |
28
+ | `NiceBottomNavigation` | `NiceDock` |
29
+ | `NiceOnboardingWizard` | `NiceWizard` |
30
+ | `NiceTenantSwitcher` | a plain dropdown (e.g. `NiceSelect`/`NiceDropDownButton`) |
31
+
32
+ Their exports, showcase demos/presets, doc metadata, and tooling entries
33
+ (view schema, component-type map, ESLint plugin) are gone. The internal
34
+ `NiceShowcase` tool was updated to `NiceButton`/`NiceMenu`. Verified: `@nice2dev/ui`
35
+ builds, all facades + showcase typecheck, and `lint:cycles` passes with no dangling
36
+ imports.
37
+
38
+ ## 1.0.30
39
+
40
+ ### Patch Changes
41
+
42
+ - Library-wide consistency pass + showcase overhaul.
43
+ - **Universal app shell:** every genuine multi-panel editor/studio/designer/builder/workspace standardized onto `NiceAppShell` (slots + `flush`), incl. `NiceTeamsWorkspace` and `NiceAPIDesigner`. No public API changes — internal layout only.
44
+ - **Icons:** foreign icons (emoji, raw unicode glyphs, inline `<svg>`, FontAwesome) replaced with `@nice2dev/icons` / `NiceIcon` built-ins across the packages; ~110 built-in icon paths added to `NiceIcon`.
45
+ - **Control sizing:** every basic control now honours the full `xs · sm · md · lg · xl` size scale with working CSS — fixed `NiceCard`, `NiceAlert`, `NiceSkeleton`, `NiceDivider`, `NiceSearchInput`, `NiceCallout`, `NiceStatistic`, `NiceSegmentedControl`, `NiceCheckbox`, `NiceParagraph`, and a `NiceSpinner` CSS-shadow regression (`md` baseline unchanged). `NiceNumericInput` gained a `size` prop.
46
+ - **NiceKioskShell:** the `style` prop now overrides the default full-screen `position: fixed` (so it can be embedded contained).
47
+ - **Input devices + spatial navigation:** `NiceGamepad` / `NiceMicrophone` / `NiceDeviceManager` / `NiceDeviceTile` and `NavShell` spatial-navigation support.
48
+ - **Audio:** AudioVerse → `@nice2dev/ui-audio` parity (15 controls; optional `recharts` visualizers).
49
+ - **Display atoms + forms:** standardized atoms (`NiceBadge`/`NiceTag`/`NiceAvatarGroup`/`NiceProgress`/…), removed the deprecated `NiceStatusBadge` (migrated to `NiceBadge` variants), entity validation builder, selectable `NiceCard`.
50
+ - **Editors inside satellites** (`ui-ai`/`ui-api`/`ui-bi`/`ui-math`/`ui-video`/`ui-audio`/`events`) now declare `@nice2dev/ui` (and where used `@nice2dev/icons` / `@nice2dev/ui-core`) as peer dependencies.
51
+
3
52
  ## 1.0.29
4
53
 
5
54
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/icons",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Beautiful, lightweight, multi-color SVG icon library for React with animations",
5
5
  "author": "NiceToDev <contact@nicetodev.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -18,39 +18,39 @@
18
18
  "types": "dist/types/index.d.ts",
19
19
  "exports": {
20
20
  ".": {
21
+ "types": "./dist/types/index.d.ts",
21
22
  "import": "./dist/esm/index.js",
22
- "require": "./dist/cjs/index.js",
23
- "types": "./dist/types/index.d.ts"
23
+ "require": "./dist/cjs/index.js"
24
24
  },
25
25
  "./rsc": {
26
+ "types": "./dist/types/rsc.d.ts",
26
27
  "import": "./dist/esm/rsc.js",
27
- "require": "./dist/cjs/rsc.js",
28
- "types": "./dist/types/rsc.d.ts"
28
+ "require": "./dist/cjs/rsc.js"
29
29
  },
30
30
  "./client": {
31
+ "types": "./dist/types/client.d.ts",
31
32
  "import": "./dist/esm/client.js",
32
- "require": "./dist/cjs/client.js",
33
- "types": "./dist/types/client.d.ts"
33
+ "require": "./dist/cjs/client.js"
34
34
  },
35
35
  "./tailwind": {
36
+ "types": "./dist/types/tailwind-plugin.d.ts",
36
37
  "import": "./dist/esm/tailwind-plugin.js",
37
- "require": "./dist/cjs/tailwind-plugin.js",
38
- "types": "./dist/types/tailwind-plugin.d.ts"
38
+ "require": "./dist/cjs/tailwind-plugin.js"
39
39
  },
40
40
  "./design-tokens": {
41
+ "types": "./dist/types/design-tokens.d.ts",
41
42
  "import": "./dist/esm/design-tokens.js",
42
- "require": "./dist/cjs/design-tokens.js",
43
- "types": "./dist/types/design-tokens.d.ts"
43
+ "require": "./dist/cjs/design-tokens.js"
44
44
  },
45
45
  "./headless-ui": {
46
+ "types": "./dist/types/headless-ui.d.ts",
46
47
  "import": "./dist/esm/headless-ui.js",
47
- "require": "./dist/cjs/headless-ui.js",
48
- "types": "./dist/types/headless-ui.d.ts"
48
+ "require": "./dist/cjs/headless-ui.js"
49
49
  },
50
50
  "./utilities": {
51
+ "types": "./dist/types/utilities.d.ts",
51
52
  "import": "./dist/esm/utilities.js",
52
- "require": "./dist/cjs/utilities.js",
53
- "types": "./dist/types/utilities.d.ts"
53
+ "require": "./dist/cjs/utilities.js"
54
54
  },
55
55
  "./styles.css": "./dist/animations.css"
56
56
  },