@atomazing-org/design-system 1.0.38 → 1.0.39

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/README.MD +2 -10
  2. package/package.json +1 -1
package/README.MD CHANGED
@@ -109,20 +109,12 @@ It supports four modes out of the box:
109
109
  #### 🧩 Example: Custom Toggle with Options
110
110
 
111
111
  ```tsx
112
- import {
113
- useThemeSettings,
114
- themes,
115
- } from '@atomazing-org/design-system';
112
+ import { darkModeOptions, themes, useThemeSettings } from '@atomazing-org/design-system'
116
113
 
117
114
  const { darkMode, setDarkMode } = useThemeSettings();
118
115
 
119
116
  <CustomRadioGroup
120
- options={[
121
- { label: 'Auto', value: 'auto' },
122
- { label: 'System', value: 'system' },
123
- { label: 'Light', value: 'light' },
124
- { label: 'Dark', value: 'dark' },
125
- ]}
117
+ options={darkModeOptions}
126
118
  value={darkMode}
127
119
  onChange={val => setDarkMode(val)}
128
120
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomazing-org/design-system",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "private": false,
5
5
  "description": "A library providing a set of useful utils, MUI style extensions, and components to build your application.",
6
6
  "author": "PonomarevBPM + MarkSinD",