Skip to content

Commit

Permalink
feat: add new select components (42, 43, 44)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-got committed Dec 2, 2024
1 parent aff083f commit 8e43c4d
Show file tree
Hide file tree
Showing 7 changed files with 423 additions and 124 deletions.
248 changes: 124 additions & 124 deletions src/lib/componentRegistry.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,37 @@
/**
* !!!!!!!!!!
* This file is auto-generated. Do not edit manually
* Last generated at: 12/2/2024, 9:24:39 PM
* Last generated at: 12/2/2024, 9:51:34 PM
* @version 0.0.1
* !!!!!!!!!!
*/

import type { Prettify } from '$lib/types/helpers';

export const OUI_DIRECTORIES = {
CHECKBOXES: {
directory: 'checkboxes',
components: [
'checkbox-01.svelte',
'checkbox-02.svelte',
'checkbox-03.svelte',
'checkbox-04.svelte',
'checkbox-05.svelte',
'checkbox-06.svelte',
'checkbox-07.svelte',
'checkbox-08.svelte',
'checkbox-09.svelte',
'checkbox-10.svelte',
'checkbox-11.svelte',
'checkbox-12.svelte',
'checkbox-13.svelte',
'checkbox-14.svelte',
'checkbox-15.svelte',
'checkbox-16.svelte',
'checkbox-17.svelte',
'checkbox-18.svelte'
]
},
BUTTONS: {
directory: 'buttons',
components: [
Expand Down Expand Up @@ -66,29 +89,6 @@ export const OUI_DIRECTORIES = {
'button-51.svelte'
]
},
CHECKBOXES: {
directory: 'checkboxes',
components: [
'checkbox-01.svelte',
'checkbox-02.svelte',
'checkbox-03.svelte',
'checkbox-04.svelte',
'checkbox-05.svelte',
'checkbox-06.svelte',
'checkbox-07.svelte',
'checkbox-08.svelte',
'checkbox-09.svelte',
'checkbox-10.svelte',
'checkbox-11.svelte',
'checkbox-12.svelte',
'checkbox-13.svelte',
'checkbox-14.svelte',
'checkbox-15.svelte',
'checkbox-16.svelte',
'checkbox-17.svelte',
'checkbox-18.svelte'
]
},
RADIOS: {
directory: 'radios',
components: [
Expand All @@ -113,36 +113,66 @@ export const OUI_DIRECTORIES = {
'radio-19.svelte'
]
},
SLIDERS: {
directory: 'sliders',
INPUTS: {
directory: 'inputs',
components: [
'slider-01.svelte',
'slider-02.svelte',
'slider-03.svelte',
'slider-04.svelte',
'slider-05.svelte',
'slider-06.svelte',
'slider-07.svelte',
'slider-08.svelte',
'slider-09.svelte',
'slider-10.svelte',
'slider-11.svelte',
'slider-12.svelte',
'slider-13.svelte',
'slider-14.svelte',
'slider-15.svelte',
'slider-16.svelte',
'slider-17.svelte',
'slider-18.svelte',
'slider-19.svelte',
'slider-20.svelte',
'slider-21.svelte',
'slider-22.svelte',
'slider-23.svelte',
'slider-24.svelte',
'slider-25.svelte',
'slider-26.svelte',
'slider-27.svelte'
'input-01.svelte',
'input-02.svelte',
'input-03.svelte',
'input-04.svelte',
'input-05.svelte',
'input-06.svelte',
'input-07.svelte',
'input-08.svelte',
'input-09.svelte',
'input-10.svelte',
'input-11.svelte',
'input-12.svelte',
'input-13.svelte',
'input-14.svelte',
'input-15.svelte',
'input-16.svelte',
'input-17.svelte',
'input-18.svelte',
'input-19.svelte',
'input-20.svelte',
'input-21.svelte',
'input-22.svelte',
'input-23.svelte',
'input-24.svelte',
'input-25.svelte',
'input-26.svelte',
'input-27.svelte',
'input-28.svelte',
'input-29.svelte',
'input-30.svelte',
'input-31.svelte',
'input-32.svelte',
'input-33.svelte',
'input-34.svelte',
'input-35.svelte',
'input-36.svelte',
'input-37.todo.svelte',
'input-38.todo.svelte',
'input-39.todo.svelte',
'input-40.todo.svelte',
'input-41.todo.svelte',
'input-42.svelte',
'input-43.svelte',
'input-44.svelte',
'input-45.svelte',
'input-46.svelte',
'input-47.todo.svelte',
'input-48.todo.svelte',
'input-49.todo.svelte',
'input-50.todo.svelte',
'input-51.svelte',
'input-52.svelte',
'input-53.svelte',
'input-54.svelte',
'input-55.svelte',
'input-56.todo.svelte',
'input-57.todo.svelte'
]
},
SWITCHES: {
Expand Down Expand Up @@ -211,9 +241,9 @@ export const OUI_DIRECTORIES = {
'select-39.svelte',
'select-40.svelte',
'select-41.svelte',
'select-42.todo.svelte',
'select-43.todo.svelte',
'select-44.todo.svelte',
'select-42.svelte',
'select-43.svelte',
'select-44.svelte',
'select-45.todo.svelte',
'select-46.todo.svelte',
'select-47.todo.svelte',
Expand All @@ -223,66 +253,36 @@ export const OUI_DIRECTORIES = {
'select-51.todo.svelte'
]
},
INPUTS: {
directory: 'inputs',
SLIDERS: {
directory: 'sliders',
components: [
'input-01.svelte',
'input-02.svelte',
'input-03.svelte',
'input-04.svelte',
'input-05.svelte',
'input-06.svelte',
'input-07.svelte',
'input-08.svelte',
'input-09.svelte',
'input-10.svelte',
'input-11.svelte',
'input-12.svelte',
'input-13.svelte',
'input-14.svelte',
'input-15.svelte',
'input-16.svelte',
'input-17.svelte',
'input-18.svelte',
'input-19.svelte',
'input-20.svelte',
'input-21.svelte',
'input-22.svelte',
'input-23.svelte',
'input-24.svelte',
'input-25.svelte',
'input-26.svelte',
'input-27.svelte',
'input-28.svelte',
'input-29.svelte',
'input-30.svelte',
'input-31.svelte',
'input-32.svelte',
'input-33.svelte',
'input-34.svelte',
'input-35.svelte',
'input-36.svelte',
'input-37.todo.svelte',
'input-38.todo.svelte',
'input-39.todo.svelte',
'input-40.todo.svelte',
'input-41.todo.svelte',
'input-42.svelte',
'input-43.svelte',
'input-44.svelte',
'input-45.svelte',
'input-46.svelte',
'input-47.todo.svelte',
'input-48.todo.svelte',
'input-49.todo.svelte',
'input-50.todo.svelte',
'input-51.svelte',
'input-52.svelte',
'input-53.svelte',
'input-54.svelte',
'input-55.svelte',
'input-56.todo.svelte',
'input-57.todo.svelte'
'slider-01.svelte',
'slider-02.svelte',
'slider-03.svelte',
'slider-04.svelte',
'slider-05.svelte',
'slider-06.svelte',
'slider-07.svelte',
'slider-08.svelte',
'slider-09.svelte',
'slider-10.svelte',
'slider-11.svelte',
'slider-12.svelte',
'slider-13.svelte',
'slider-14.svelte',
'slider-15.svelte',
'slider-16.svelte',
'slider-17.svelte',
'slider-18.svelte',
'slider-19.svelte',
'slider-20.svelte',
'slider-21.svelte',
'slider-22.svelte',
'slider-23.svelte',
'slider-24.svelte',
'slider-25.svelte',
'slider-26.svelte',
'slider-27.svelte'
]
},
TEXTAREAS: {
Expand Down Expand Up @@ -312,33 +312,33 @@ export const OUI_DIRECTORIES = {
} as const;
export type OUIDirectory = (typeof OUI_DIRECTORIES)[keyof typeof OUI_DIRECTORIES]['directory'];

export type OUIButtonsComponents = (typeof OUI_DIRECTORIES)['BUTTONS']['components'][number];
export type OUICheckboxesComponents = (typeof OUI_DIRECTORIES)['CHECKBOXES']['components'][number];
export type OUIButtonsComponents = (typeof OUI_DIRECTORIES)['BUTTONS']['components'][number];
export type OUIRadiosComponents = (typeof OUI_DIRECTORIES)['RADIOS']['components'][number];
export type OUISlidersComponents = (typeof OUI_DIRECTORIES)['SLIDERS']['components'][number];
export type OUIInputsComponents = (typeof OUI_DIRECTORIES)['INPUTS']['components'][number];
export type OUISwitchesComponents = (typeof OUI_DIRECTORIES)['SWITCHES']['components'][number];
export type OUISelectsComponents = (typeof OUI_DIRECTORIES)['SELECTS']['components'][number];
export type OUIInputsComponents = (typeof OUI_DIRECTORIES)['INPUTS']['components'][number];
export type OUISlidersComponents = (typeof OUI_DIRECTORIES)['SLIDERS']['components'][number];
export type OUITextareasComponents = (typeof OUI_DIRECTORIES)['TEXTAREAS']['components'][number];

export type OUIComponent = Prettify<
| OUIButtonsComponents
| OUICheckboxesComponents
| OUIButtonsComponents
| OUIRadiosComponents
| OUISlidersComponents
| OUIInputsComponents
| OUISwitchesComponents
| OUISelectsComponents
| OUIInputsComponents
| OUISlidersComponents
| OUITextareasComponents
>;

export interface OUIDirectoryToComponent {
buttons: OUIButtonsComponents;
checkboxes: OUICheckboxesComponents;
buttons: OUIButtonsComponents;
radios: OUIRadiosComponents;
sliders: OUISlidersComponents;
inputs: OUIInputsComponents;
switches: OUISwitchesComponents;
selects: OUISelectsComponents;
inputs: OUIInputsComponents;
sliders: OUISlidersComponents;
textareas: OUITextareasComponents;
}
Loading

0 comments on commit 8e43c4d

Please sign in to comment.