goobs-frontend 0.8.30 → 0.9.1

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/README.md CHANGED
@@ -1,18 +1,22 @@
1
1
  # goobs-frontend
2
2
 
3
- goobs-frontend, previously known as goobs-repo, is a comprehensive React-based UI library built on Material-UI. It offers a wide range of customizable components for building responsive and consistent user interfaces with advanced features like form validation, theming, and code syntax highlighting.
3
+ goobs-frontend, is a React-based UI library built on Material-UI.
4
4
 
5
5
  The NPM repo is available here - https://www.npmjs.com/package/goobs-frontend
6
6
 
7
7
  This entire repository is written in TypeScript, and there is no need for a separate types installation.
8
8
 
9
+ ## Storybook
10
+
11
+ See component design and documentation in Storybook available here - https://storybook.technologiesunlimited.net/
12
+
9
13
  ## Integrating goobs-frontend with Next.js
10
14
 
11
- This guide explains how to integrate the goobs-frontend package with a Next.js project.
15
+ This guide explains how to integrate goobs-frontend with a Next.js project
12
16
 
13
17
  **Step 1: Install the project**
14
18
 
15
- In your Next.js project directory, run the following command to install goobs-frontend:
19
+ In your Next.js project directory, run the following command to install goobs-frontend
16
20
 
17
21
  #### npm
18
22
 
@@ -28,364 +32,370 @@ yarn add goobs-frontend
28
32
 
29
33
  **Step 2: Update next.config.js**
30
34
 
31
- We are using SWC; here is the minimum recommended configuration for next.config.js using our repository:
35
+ You must then transpile the package in next.config
32
36
 
33
37
  ```javascript
34
38
  /** @type {import('next').NextConfig} */
35
39
 
36
40
  const nextConfig = {
37
- reactStrictMode: true,
38
- swcMinify: true,
39
41
  transpilePackages: ['goobs-frontend'],
40
42
  }
41
43
 
42
44
  export default nextConfig
43
45
  ```
44
46
 
45
- You can see more information on how we got here and how it was incorrectly done in previous versions via - https://github.com/goobz22/goobs-frontend/discussions/21
46
-
47
- **Step 3: Implement into project and build to confirm functionality**
48
-
49
- All components should be successfully building as of this release and are being used within production in one way or another.
50
-
51
- This README update, along with the following documentation updates, are all part of a push to better document the usage of this project.
47
+ After this is done, you can import components from goobs-frontend into your project.
52
48
 
53
49
  ## Components
54
50
 
55
- The following components are available within goobs-frontend. Each component has a dedicated wiki page with detailed documentation, usage examples, and best practices.
51
+ Below is a high-level overview of all components now available in goobs-frontend. For full usage instructions, code snippets, and best practices, see our Storybook.
56
52
 
57
53
  ### Accordion
58
54
 
59
- The Accordion component provides an expandable panel for organizing and presenting content in a collapsible manner.
55
+ Description: A collapsible container for toggling expanded/collapsed content.
56
+
57
+ Features: Built on Material-UI’s Accordion.
60
58
 
61
- [Accordion Wiki](https://github.com/goobz22/goobs-frontend/wiki/Accordion)
59
+ Combines Accordion, AccordionSummary, and AccordionDetails for a complete layout.
62
60
 
63
61
  ### Button
64
62
 
65
- The Button component is a customizable button with support for icons, variants, and styling props. It provides a flexible and reusable way to create buttons in your application.
63
+ Description: A Material-UI Button wrapper with advanced customization—supporting icons, text alignment, and coloring.
66
64
 
67
- [Button Wiki](https://github.com/goobz22/goobs-frontend/wiki/Button)
65
+ Features: Flexible icon positioning (left, right, above).
66
+
67
+ Configurable background color, text color, dimensions, etc.
68
68
 
69
69
  ### Card
70
70
 
71
- The Card component offers various card layouts for displaying content, including product cards, pricing cards, and more. It supports different variants such as default, inventory, pricing summary, detailed pricing summary, product, and product summary.
71
+ Description: A versatile container with multiple variants (inventory, pricing, product, tasks, etc.).
72
+
73
+ Features: Displays images, stepper integration, and optional breadcrumbs.
72
74
 
73
- [Card Wiki](https://github.com/goobz22/goobs-frontend/wiki/Card)
75
+ Ideal for product listings, tasks, or advanced pricing scenarios.
74
76
 
75
77
  ### CodeCopy
76
78
 
77
- The CodeCopy component renders a code block with syntax highlighting and a copy-to-clipboard functionality.
79
+ Description: Renders syntax-highlighted code blocks and offers a single-click “Copy to clipboard button.
80
+
81
+ Features: Uses highlight.js for syntax highlighting.
82
+
83
+ Great for docs, tutorials, or developer portals.
84
+
85
+ ### ConfirmationCodeInputs
78
86
 
79
- [CodeCopy Wiki](https://github.com/goobz22/goobs-frontend/wiki/CodeCopy)
87
+ Description: An OTP-style multi-digit input.
80
88
 
81
- ### ConfirmationCodeInput
89
+ Features: Automatically moves focus between fields, numeric-only.
82
90
 
83
- The ConfirmationCodeInput component provides an input field for entering confirmation codes, often used in two-factor authentication scenarios.
91
+ Visual valid/invalid status indicator.
84
92
 
85
- [ConfirmationCodeInput Wiki](https://github.com/goobz22/goobs-frontend/wiki/ConfirmationCodeInput)
93
+ ### ComplexTextEditor
94
+
95
+ Description: A text editor capable of switching between modes (simple, markdown, or rich text) via a single toolbar.
96
+
97
+ Features: Uses sub-editors (SimpleEditor, RichTextEditor, MarkdownEditor).
98
+
99
+ Accepts label, min-rows, error text, etc.
86
100
 
87
101
  ### Content
88
102
 
89
- The Content component is a flexible container for rendering various types of content within your application. It supports different content types including typography, radio groups, confirmation code inputs, links, buttons, images, pricing tables, steppers, transfer lists, cards, code copy blocks, text fields, date fields, dropdowns, increment number fields, searchbars, number fields, password fields, and QR codes.
103
+ Description: A catch-all container that can render multiple typed sub-components (typography, images, forms, etc.).
104
+
105
+ Features: Allows dynamic rendering of sub-components in a structured layout.
106
+
107
+ ### CustomToolbar
108
+
109
+ Description: A flexible toolbar with optional buttons, search bar, dropdowns, and management actions.
110
+
111
+ Features:
112
+
113
+ - Left: Renders an optional vertical divider and an array of buttons.
114
+ - LeftCenter: Typically a search bar.
115
+ - Right: Renders one or more Dropdown components.
116
+ - RightCenter: Manages selected rows or data actions (duplicate, delete, etc.).
117
+
118
+ ### DataGrid
119
+
120
+ Description: A table/grid with row selection, search, pagination, and advanced row management (duplicate, delete, etc.).
90
121
 
91
- [Content Wiki](https://github.com/goobz22/goobs-frontend/wiki/Content)
122
+ Features:
123
+
124
+ - Built-in search integration.
125
+ - Custom toolbars, footers, and row selection.
126
+ - Single or multiple row selection with checkboxes.
127
+
128
+ ### DataGridCheckbox
129
+
130
+ Description: A specialized Checkbox for data grid usage, logging click/change events.
131
+
132
+ Features:
133
+
134
+ - Styled for grid contexts.
135
+ - Allows debug logging or analytics.
92
136
 
93
137
  ### DateField
94
138
 
95
- The DateField component provides a date picker input field with customizable styling options.
139
+ Description: A date picker that supports both manual text entry and a pop-up calendar (via react-datepicker).
140
+
141
+ Features:
142
+
143
+ - Arrow-key increments for day/month/year.
144
+ - Partial manual editing (e.g., only day or month).
145
+
146
+ ### Dialog and Popup
147
+
148
+ Description: Modal components for various form-based interactions.
149
+
150
+ Features:
96
151
 
97
- [DateField Wiki](https://github.com/goobz22/goobs-frontend/wiki/DateField)
152
+ - Popup for simpler modals; Dialog for more complex or multi-step forms.
153
+ - Both can integrate with form controls or custom actions.
98
154
 
99
155
  ### Dropdown
100
156
 
101
- The Dropdown component offers a customizable select input with various styling options.
157
+ Description: A select input with advanced styling (label above or on the outline) and typed options.
102
158
 
103
- [Dropdown Wiki](https://github.com/goobz22/goobs-frontend/wiki/Dropdown)
159
+ Features:
160
+
161
+ - Allows custom color overrides for background, outline, and font.
162
+ - Works well in forms or toolbars.
163
+
164
+ ### FormDataGrid
165
+
166
+ Description: A specialized DataGrid for form-based usage.
167
+
168
+ Features:
169
+
170
+ - Possibly merges form validation with row-based data editing.
171
+ - Accepts typed definitions for columns, validation, or data transformations.
104
172
 
105
173
  ### Grid
106
174
 
107
- The Grid component is a highly customizable and flexible grid system built with React and Material-UI. It allows you to create complex grid layouts with ease, providing a wide range of configuration options for grids, rows, columns, and cells.
175
+ Description: A flexible grid system for laying out UI components, wrapping Material-UI’s Grid.
108
176
 
109
- [Grid Wiki](https://github.com/goobz22/goobs-frontend/wiki/Grid)
177
+ Features:
178
+
179
+ - Row/column/cell configurations with advanced spacing and alignment.
180
+ - Perfect for building complex multi-column forms or pages.
110
181
 
111
182
  ### IncrementNumberField
112
183
 
113
- The IncrementNumberField component provides an input field for numeric values with increment and decrement buttons.
184
+ Description: A numeric input with dedicated increment/decrement buttons.
185
+
186
+ Features:
187
+
188
+ - Restricts input to digits.
189
+ - Configurable label, background, outline, and text color.
190
+
191
+ ### MultiSelectChip
192
+
193
+ Description: A multiple-selection dropdown that displays selected items as chips.
114
194
 
115
- [IncrementNumberField Wiki](https://github.com/goobz22/goobs-frontend/wiki/IncrementNumberField)
195
+ Features:
116
196
 
117
- ### Nav
197
+ - Easy to handle multiple values.
198
+ - Optional background, font, and label styling.
118
199
 
119
- The Nav component provides navigation functionality, including both horizontal and vertical navigation options.
200
+ ### Nav (Vertical)
120
201
 
121
- [Nav Wiki](https://github.com/goobz22/goobs-frontend/wiki/Nav)
202
+ Description: A vertical navigation component with expandable main/sub nav items, optional search, etc.
203
+
204
+ Features:
205
+
206
+ - Supports multiple levels: mainNav, subNav, and viewNav.
207
+ - Collapsible sections and optional route-based or onClick triggers.
122
208
 
123
209
  ### NumberField
124
210
 
125
- The NumberField component offers an input field specifically designed for numeric input with optional minimum and maximum value constraints.
211
+ Description: A numeric text field with optional min/max constraints.
212
+
213
+ Features:
126
214
 
127
- [NumberField Wiki](https://github.com/goobz22/goobs-frontend/wiki/NumberField)
215
+ - Restricts non-numeric input.
216
+ - Auto-corrects values outside allowable ranges.
128
217
 
129
218
  ### PasswordField
130
219
 
131
- The PasswordField component provides a secure input field for password entry with a show/hide password toggle.
220
+ Description: A text field for secure passwords, featuring a show/hide toggle icon.
132
221
 
133
- [PasswordField Wiki](https://github.com/goobz22/goobs-frontend/wiki/PasswordField)
222
+ Features:
223
+
224
+ - Color overrides for background, outline, text.
225
+ - Eye icon toggles between hidden and visible text.
134
226
 
135
227
  ### PhoneNumberField
136
228
 
137
- The PhoneNumberField component offers an input field specifically formatted for phone number entry.
229
+ Description: A phone number input that auto-formats values (e.g., +1-xxx-xxx-xxxx).
230
+
231
+ Features:
138
232
 
139
- [PhoneNumberField Wiki](https://github.com/goobz22/goobs-frontend/wiki/PhoneNumberField)
233
+ - Removes non-digit characters, ensures +1.
234
+ - Great for US-based phone inputs, can be adapted for international usage.
140
235
 
141
236
  ### PricingTable
142
237
 
143
- The PricingTable component renders a customizable pricing table for displaying product or service pricing information.
238
+ Description: A tabular display of multi-tier pricing data, toggling monthly/annual costs, etc.
239
+
240
+ Features:
241
+
242
+ - Compare multiple packages.
243
+ - Checkmark-based feature lists.
244
+ - Integrated CTA buttons, easily link to a router or checkout flow.
245
+
246
+ ### ProjectBoard
247
+
248
+ Description: A kanban-like board for tasks, with drag-and-drop columns, search, and sub-forms (AddTask, ShowTask).
249
+
250
+ Features:
144
251
 
145
- [PricingTable Wiki](https://github.com/goobz22/goobs-frontend/wiki/PricingTable)
252
+ - Handles status/sub-status or severity-based columns.
253
+ - Built-in search, comment, revision history, assigned user, etc.
146
254
 
147
- ### QRCode
255
+ ### QRCodeComponent
148
256
 
149
- The QRCode component generates and displays QR codes based on the provided value.
257
+ Description: Dynamically generates a QR code from TOTP secrets (or any string).
150
258
 
151
- [QRCode Wiki](https://github.com/goobz22/goobs-frontend/wiki/QRCode)
259
+ Features:
260
+
261
+ - Integrates with otplib for generating or verifying TOTP secrets.
262
+ - Accepts size, optional title, and callback for the generated secret.
152
263
 
153
264
  ### RadioGroup
154
265
 
155
- The RadioGroup component renders a group of radio buttons for selecting a single option from multiple choices.
266
+ Description: A group of radio buttons for single-option selection, built on Material-UI’s RadioGroup.
267
+
268
+ Features:
269
+
270
+ - Accepts typed RadioOption for label customizations.
271
+ - Includes an optional overall label with custom font variants/colors.
272
+
273
+ ### RichTextEditor
274
+
275
+ Description: A full WYSIWYG editor with optional Markdown toggles, link insertion, bold/italic, etc.
276
+
277
+ Features:
278
+
279
+ - Built on Slate or similar.
280
+ - Separate toolbars for Rich Text vs. Markdown modes.
281
+
282
+ ### SearchableDropdown
283
+
284
+ Description: A dropdown with real-time filtering, based on Material-UI’s Autocomplete.
285
+
286
+ Features:
156
287
 
157
- [RadioGroup Wiki](https://github.com/goobz22/goobs-frontend/wiki/RadioGroup)
288
+ - Additional attributes for each option (attribute1, attribute2).
289
+ - Flexible color/label styling.
158
290
 
159
291
  ### Searchbar
160
292
 
161
- The Searchbar component provides a search input field with customizable styling options.
293
+ Description: A stylized search input field, typically placed in a toolbar or nav.
162
294
 
163
- [Searchbar Wiki](https://github.com/goobz22/goobs-frontend/wiki/Searchbar)
295
+ Features:
164
296
 
165
- ### Stepper
297
+ - Icon, label positioning, and color customization.
298
+ - Easy onChange event to handle filtering or searching.
166
299
 
167
- The Stepper component provides a step-by-step interface for guiding users through a process or workflow.
300
+ ### ShowTask
168
301
 
169
- [Stepper Wiki](https://github.com/goobz22/goobs-frontend/wiki/Stepper)
302
+ Description: A modal-based component that displays a single task, its fields, and a comment section with revision history.
303
+
304
+ Features:
305
+
306
+ - Edits or adds comments, optionally restricted to the original commenter.
307
+ - Adjust sub-status, assigned user, next-action date, etc.
308
+
309
+ ### Stepper (CustomStepper)
310
+
311
+ Description: A multi-step progress indicator for processes or wizards.
312
+
313
+ Features:
314
+
315
+ - Supports “completed”, “active”, “error”, or “inactive” steps.
316
+ - Displays optional step descriptions or links.
317
+ - Step icons can be customized (check, lock, error, etc.).
318
+
319
+ ### StyledTooltip
320
+
321
+ Description: A Material-UI Tooltip extended with custom color, offsets, and arrow placement.
322
+
323
+ Features:
324
+
325
+ - Override background color, text color, arrow color.
326
+ - Precisely position via offset props.
327
+
328
+ ### Tabs (Horizontal)
329
+
330
+ Description: A horizontal tab navigation bar built with Material-UI’s Tabs.
331
+
332
+ Features:
333
+
334
+ - Route-based (trigger='route') or custom callback (trigger='onClick') tab switches.
335
+ - Supports alignment (left, center, right, justify) and optional borders.
170
336
 
171
337
  ### TextField
172
338
 
173
- The TextField component offers a customizable text input field with various styling and behavior options.
339
+ Description: A Material-UI TextField wrapper with advanced color and label position overrides, plus optional end adornments.
340
+
341
+ Features:
174
342
 
175
- [TextField Wiki](https://github.com/goobz22/goobs-frontend/wiki/TextField)
343
+ - Label can shrink onto or above the outline for a unique UI.
344
+ - Extended color styling for background, outline, font, placeholder, etc.
176
345
 
177
346
  ### Toolbar
178
347
 
179
- The Toolbar component offers a customizable toolbar for use in various UI scenarios.
348
+ Description: A flexible container for actions, often used atop tables or pages for filtering, button actions, and more.
180
349
 
181
- [Toolbar Wiki](https://github.com/goobz22/goobs-frontend/wiki/Toolbar)
350
+ Features:
351
+
352
+ - Extensible subcomponents (Left, LeftCenter, Right, RightCenter).
353
+ - Adapts layout based on screen size (desktop, tablet, mobile).
182
354
 
183
355
  ### Tooltip
184
356
 
185
- The Tooltip component is a customizable and styled version of the Material-UI Tooltip component. It provides a way to display informative text when users hover over, focus on, or tap an element.
357
+ Description: A styled tooltip (see StyledTooltip).
358
+
359
+ Features:
186
360
 
187
- [Tooltip Wiki](https://github.com/goobz22/goobs-frontend/wiki/Tooltip)
361
+ - Enhanced theming, offsets, arrow customization.
362
+ - Works with icons, text, or anything that needs a hover tooltip.
188
363
 
189
364
  ### TransferList
190
365
 
191
- The TransferList component provides a dual-list interface for transferring items between two lists.
366
+ Description: A dual-list component for transferring items between left and right.
192
367
 
193
- [TransferList Wiki](https://github.com/goobz22/goobs-frontend/wiki/TransferList)
368
+ Features:
194
369
 
195
- ### Typography
370
+ - “Move selected” or “Move all” controls.
371
+ - Single or multiple selection variants.
372
+ - Can pair with dropdowns for multi-collection contexts.
196
373
 
197
- The Typography component is a text component for rendering customizable typography with support for different font families, variants, and colors.
198
-
199
- [Typography Wiki](https://github.com/goobz22/goobs-frontend/wiki/Typography)
200
-
201
- ## Usage
202
-
203
- To use the components, types, and utilities in your project, you can import them from the `goobs-frontend` package. Here's a comprehensive list of all available imports:
204
-
205
- ```typescript
206
- import {
207
- // Components
208
- CustomButton,
209
- CustomGrid,
210
- Typography,
211
- ConfirmationCodeInput,
212
- RadioGroup,
213
- PopupForm,
214
- ContentSection,
215
- Accordion,
216
- AccordionSummary,
217
- AccordionDetails,
218
- Card,
219
- CodeCopy,
220
- Nav,
221
- PricingTable,
222
- CustomStepper,
223
- CustomToolbar,
224
- TransferList,
225
- StyledTooltip,
226
- QRCodeComponent,
227
- DateField,
228
- Dropdown,
229
- IncrementNumberField,
230
- NumberField,
231
- PasswordField,
232
- PhoneNumberField,
233
- Searchbar,
234
- TextField,
235
-
236
- // Types
237
- CustomButtonProps,
238
- CustomGridProps,
239
- Alignment,
240
- BorderProp,
241
- columnconfig,
242
- gridconfig,
243
- cellconfig,
244
- FontFamily,
245
- TypographyVariant,
246
- TypographyProps,
247
- ConfirmationCodeInputsProps,
248
- RadioOption,
249
- RadioGroupProps,
250
- PopupFormProps,
251
- ContentSectionProps,
252
- CardProps,
253
- CodeCopyProps,
254
- NavProps,
255
- PricingProps,
256
- CustomStepperProps,
257
- ToolbarProps,
258
- TransferListProps,
259
- CustomTooltipProps,
260
- QRCodeProps,
261
- DateFieldProps,
262
- DropdownProps,
263
- IncrementNumberFieldProps,
264
- NumberFieldProps,
265
- PasswordFieldProps,
266
- PhoneNumberFieldProps,
267
- SearchbarProps,
268
- TextFieldProps,
269
-
270
- // Extended Types
271
- ExtendedButtonProps,
272
- ExtendedTypographyProps,
273
- ExtendedTextFieldProps,
274
- ExtendedQRCodeProps,
275
- ExtendedDropdownProps,
276
- ExtendedDateFieldProps,
277
- ExtendedNumberFieldProps,
278
- ExtendedIncrementNumberFieldProps,
279
- ExtendedPasswordFieldProps,
280
- ExtendedSearchbarProps,
281
- ExtendedCodeCopyProps,
282
- ExtendedCardProps,
283
- ExtendedTransferListProps,
284
- ExtendedStepperProps,
285
- ExtendedPricingProps,
286
- ExtendedImageProps,
287
- ExtendedConfirmationCodeInputsProps,
288
- ExtendedRadioGroupProps,
289
-
290
- // Component Props Types
291
- TypographyComponentProps,
292
- ConfirmationCodeInputProps,
293
- RadioGroupComponentProps,
294
- PopupFormComponentProps,
295
- ContentSectionComponentProps,
296
- AccordionProps,
297
- AccordionSummaryProps,
298
- AccordionDetailsProps,
299
- CardComponentProps,
300
- CodeCopyComponentProps,
301
- NavComponentProps,
302
- PricingTableComponentProps,
303
- CustomStepperComponentProps,
304
- CustomToolbarComponentProps,
305
- TransferListComponentProps,
306
- StyledTooltipComponentProps,
307
-
308
- // Styles
309
- formContainerStyle,
310
-
311
- // Animations
312
- Animation,
313
-
314
- // Colors
315
- moss,
316
- aqua,
317
- madder,
318
- woad,
319
- marine,
320
- pansy,
321
- stainlessSteel,
322
- coal,
323
- ocean,
324
- sky,
325
- salmon,
326
- lightning,
327
- sage,
328
- lilac,
329
- gunpowder,
330
- lightMadder,
331
- black,
332
- white,
333
- none,
334
- semiTransparentWhite,
335
- semiTransparentBlack,
336
- red,
337
- green,
338
- greyborder,
339
-
340
- // Typography
341
- arapeyh1,
342
- arapeyh2,
343
- arapeyh3,
344
- arapeyh4,
345
- arapeyh5,
346
- arapeyh6,
347
- arapeyparagraph,
348
- interh1,
349
- interh2,
350
- interh3,
351
- interh4,
352
- interh5,
353
- interh6,
354
- interparagraph,
355
- interhelperheader,
356
- interhelperfooter,
357
- merrih1,
358
- merrih2,
359
- merrih3,
360
- merrih4,
361
- merrih5,
362
- merrih6,
363
- merriparagraph,
364
- merrihelperfooter,
365
- } from 'goobs-frontend'
366
- ```
374
+ ### Typography
367
375
 
368
- Please refer to the individual component and utility files for more details on their usage and available props.
376
+ Description: A text component supporting multiple font families (Arapey, Inter, Merriweather) and variant styles.
369
377
 
370
- ## License
378
+ Features:
371
379
 
372
- This project is licensed under the MIT License.
380
+ - Additional variants like paragraph, helperheader, helperfooter.
381
+ - Flexible coloring and consistent text sizing across your app.
373
382
 
374
- ## Feedback and Contributions
383
+ ### Feedback and Contributions
375
384
 
376
- We welcome feedback, bug reports, and contributions. If you encounter any issues or have feature requests, please open an issue on the [GitHub repository](https://github.com/goobz22/goobs-frontend/issues).
385
+ We welcome contributions of all kinds:
377
386
 
378
- If you would like to contribute to the project, please fork the repository and submit a pull request with your changes.
387
+ - Issues: Report bugs or request features via GitHub Issues.
388
+ - Pull Requests: Fork, create a branch, and open a PR for review.
389
+ - Custom Requests: If you need special features or want these components ported to a different design system, reach out.
379
390
 
380
- If you would like to request this ported over to a different design system, a feature/capability, or more information on this project, please reach out to Matthew Goluba.
391
+ ### License
381
392
 
382
- ## Contact
393
+ goobs-frontend is licensed under the MIT License.
383
394
 
384
- For any questions or inquiries, please contact Matthew Goluba.
395
+ ### Contact
385
396
 
386
- - Email - mkgoluba@technologiesunlimited.net
387
- - LinkedIn - https://www.linkedin.com/in/matthew-goluba/
397
+ For questions, support, or further details, please contact Matthew Goluba
388
398
 
389
- The website is in progress and will be shared here soon.
399
+ Email: mkgoluba@technologiesunlimited.net
390
400
 
391
- Please email for the quickest response.
401
+ Enjoy building with goobs-frontend!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goobs-frontend",
3
- "version": "0.8.30",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "description": "A comprehensive React-based libary that extends the functionality of Material-UI",
6
6
  "license": "MIT",
@@ -82,42 +82,54 @@
82
82
  },
83
83
  "homepage": "https://github.com/goobz22/goobs-frontend#readme",
84
84
  "keywords": [
85
+ "accordion",
86
+ "button",
87
+ "card",
88
+ "code-copy",
85
89
  "confirmationCodeInput",
86
90
  "confirmationCode",
87
- "radioButton",
88
- "radioGroup",
91
+ "complexeditor",
89
92
  "contentSection",
90
- "reusablePopup",
91
- "next.js",
92
- "material-ui",
93
- "node.js",
94
- "formData",
93
+ "customizable-components",
94
+ "dataGrid",
95
+ "dialog",
96
+ "dropdown",
97
+ "front-end",
95
98
  "form",
96
- "button",
99
+ "formData",
100
+ "formDataGrid",
97
101
  "grid",
98
- "responsive",
99
- "typography",
100
- "button",
101
- "searchbar",
102
- "dropdown",
103
- "complexeditor",
104
- "textfield",
105
- "phonenumber",
106
- "password",
102
+ "incrementNumberField",
103
+ "material-ui",
104
+ "mfa",
105
+ "multiSelectChip",
106
+ "navigation",
107
+ "next.js",
108
+ "node.js",
107
109
  "number",
108
- "card",
110
+ "password",
111
+ "phonenumber",
112
+ "popup",
109
113
  "pricing-table",
110
- "navigation",
111
- "stepper",
112
- "tooltip",
113
- "accordion",
114
- "code-copy",
115
- "customizable-components",
114
+ "projectBoard",
115
+ "qrCode",
116
+ "radioButton",
117
+ "radioGroup",
116
118
  "react-components",
117
- "ui-library",
118
- "front-end",
119
+ "responsive",
119
120
  "responsive-design",
120
- "typescript"
121
+ "searchbar",
122
+ "stepper",
123
+ "storybook",
124
+ "tabs",
125
+ "textField",
126
+ "tooltip",
127
+ "transferList",
128
+ "2fa",
129
+ "two-factor-auth",
130
+ "typescript",
131
+ "typography",
132
+ "ui-library"
121
133
  ],
122
134
  "resolutions": {
123
135
  "string-width": "^4.2.3",
@@ -1,4 +1,5 @@
1
1
  import React from 'react'
2
+
2
3
  import './button.css'
3
4
 
4
5
  export interface ButtonProps {
@@ -22,26 +23,23 @@ export const Button = ({
22
23
  label,
23
24
  ...props
24
25
  }: ButtonProps) => {
25
- // Determine which CSS class to apply
26
26
  const mode = primary
27
27
  ? 'storybook-button--primary'
28
28
  : 'storybook-button--secondary'
29
-
30
- // Use inline styles for background color
31
- const inlineStyles: React.CSSProperties = {
32
- backgroundColor,
33
- }
34
-
35
29
  return (
36
30
  <button
37
31
  type="button"
38
32
  className={['storybook-button', `storybook-button--${size}`, mode].join(
39
33
  ' '
40
34
  )}
41
- style={inlineStyles}
42
35
  {...props}
43
36
  >
44
37
  {label}
38
+ <style>{`
39
+ button {
40
+ background-color: ${backgroundColor};
41
+ }
42
+ `}</style>
45
43
  </button>
46
44
  )
47
45
  }
@@ -17,7 +17,7 @@ type Story = StoryObj<typeof meta>
17
17
 
18
18
  export const LoggedOut: Story = {}
19
19
 
20
- // More on interaction testing: https://storybook.js.org/docs/writing-tests/interaction-testing
20
+ // More on component testing: https://storybook.js.org/docs/writing-tests/component-testing
21
21
  export const LoggedIn: Story = {
22
22
  play: async ({ canvasElement }) => {
23
23
  const canvas = within(canvasElement)
@@ -8,7 +8,7 @@
8
8
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9
9
  }
10
10
  .storybook-button--primary {
11
- background-color: #1ea7fd;
11
+ background-color: #555ab9;
12
12
  color: white;
13
13
  }
14
14
  .storybook-button--secondary {
@@ -22,8 +22,7 @@
22
22
  }
23
23
 
24
24
  .storybook-page a {
25
- color: #1ea7fd;
26
- text-decoration: none;
25
+ color: inherit;
27
26
  }
28
27
 
29
28
  .storybook-page ul {
@@ -42,7 +41,7 @@
42
41
  border-radius: 1em;
43
42
  background: #e7fdd8;
44
43
  padding: 4px 12px;
45
- color: #66bf3c;
44
+ color: #357a14;
46
45
  font-weight: 700;
47
46
  font-size: 11px;
48
47
  line-height: 12px;