Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
beliolfa committed Nov 19, 2024
1 parent 39ac7c5 commit eb8de2e
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions go/classes/avatar.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package classes

// Default class used for Avatar component
// AvatarBase is the default class used for Avatar component
const AvatarBase = "popui-avatar"

// Default class used for the initial of the Avatar component
// AvatarInitial is the default class used for the initial of the Avatar component
const AvatarInitial = "popui-avatar--initial"
8 changes: 4 additions & 4 deletions go/classes/button.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package classes

// Default class used for the Button component
// ButtonBase is the default class used for the Button component
const ButtonBase = "popui-button"

// Default class used for the danger variant of the Button component
// ButtonDanger is the default class used for the danger variant of the Button component
const ButtonDanger = "popui-button--danger"

// Default class used for the primary variant of the Button component
// ButtonPrimary is the default class used for the primary variant of the Button component
const ButtonPrimary = "popui-button--primary"

// Default class used for the small version of the Button component
// ButtonSmall is the default class used for the small version of the Button component
const ButtonSmall = "popui-button--small"
6 changes: 3 additions & 3 deletions go/classes/checkbox.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package classes

// Default class used for the wrapper of the Checkbox component
// CheckboxWrapper is the default class used for the wrapper of the Checkbox component
const CheckboxWrapper = "popui-checkbox-wrapper"

// Default class used for the input of the Checkbox component
// CheckboxInput is the default class used for the input of the Checkbox component
const CheckboxInput = "popui-checkbox-input"

// Default class used for the label of the Checkbox component
// CheckboxLabel is the default class used for the label of the Checkbox component
const CheckboxLabel = "popui-checkbox-label"
2 changes: 1 addition & 1 deletion go/classes/containers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package classes

// Default class used for the wrapper of the config popup layout
// PopupConfigContainer is the default class used for the wrapper of the config popup layout
const PopupConfigContainer = "popui-container-config"
2 changes: 1 addition & 1 deletion go/classes/image.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package classes

// Default class used for the Image component
// Image is the default class used for the Image component
const Image = "popui-image"
10 changes: 5 additions & 5 deletions go/classes/input.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package classes

// Default class used for the wrapper of the InputText component
// InputTextWrapper is the default class used for the wrapper of the InputText component
const InputTextWrapper = "popui-input-wrapper"

// Default class used for the InputText component
// InputTextBase is the default class used for the InputText component
const InputTextBase = "popui-input"

// Default class used for the error state of the InputText component
// InputTextError is the default class used for the error state of the InputText component
const InputTextError = "popui-input--error"

// Default class used for the label of the InputText component
// Label is the default class used for the label of the InputText component
const Label = "popui-label"

// Default class used for the error text of the InputText component
// Error is the default class used for the error text of the InputText component
const Error = "popui-error"
14 changes: 7 additions & 7 deletions go/classes/misc.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package classes

// Default class used for the P component
// P is the default class used for the P component
const P = "popui-paragraph"

// Default class used for the Title component
// Title is the default class used for the Title component
const Title = "popui-title"

// Default class used for the Subtitle component
// Subtitle is the default class used for the Subtitle component
const Subtitle = "popui-subtitle"

// Default class used for the Info component
// Info is the default class used for the Info component
const Info = "popui-info"

// Default class used for the InfoText component
// InfoText is the default class used for the InfoText component
const InfoText = "popui-info-text"

// Default class used for the Prose component
// Prose is the default class used for the Prose component
const Prose = "popui-prose"

// Default class used for the HorizontalDivider component
// HorizontalDivider is the default class used for the HorizontalDivider component
const HorizontalDivider = "popui-divider"
4 changes: 2 additions & 2 deletions go/classes/popover.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package classes

// Default class used for list of the Popover component
// PopoverList is the default class used for list of the Popover component
const PopoverList = "popui-popover-list"

// Default class used for list item of the Popover component
// PopoverListItem is the default class used for list item of the Popover component
const PopoverListItem = "popui-popover-list-item"
6 changes: 3 additions & 3 deletions go/classes/select.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package classes

// Default class used for the wrapper of the Select component
// SelectWrapper is the default class used for the wrapper of the Select component
const SelectWrapper = "popui-select-wrapper"

// Default class used for the input of the Select component
// SelectBase is the default class used for the input of the Select component
const SelectBase = "popui-select"

// Default class used for the error of the Select component
// SelectError is the default class used for the error of the Select component
const SelectError = "popui-input--error"
6 changes: 3 additions & 3 deletions go/classes/tags.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package classes

// Default class used for the Tags component
// Tags is the default class used for the Tags component
const Tags = "popui-tags"

// Default class used for the item of the Tags component
// Tag is the default class used for the item of the Tags component
const Tag = "popui-tag"

// Default class used for the button of the Select component
// TagButton is the default class used for the button of the Select component
const TagButton = "popui-tag-button"
8 changes: 4 additions & 4 deletions go/classes/textarea.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package classes

// Default class used for the wrapper of the Textarea component
// TextareaWrapper is the default class used for the wrapper of the Textarea component
const TextareaWrapper = "popui-textarea-wrapper"

// Default class used for the input of the Textarea component
// TextareaBase is the default class used for the input of the Textarea component
const TextareaBase = "popui-textarea"

// Default class used for the error of the Textarea component
// TextareaError is the default class used for the error of the Textarea component
const TextareaError = "popui-input--error"

// Default class used for using monospace text on the Textarea component
// TextareaMonospaced is the default class used for using monospace text on the Textarea component
const TextareaMonospaced = "popui-textarea--monospaced"
8 changes: 4 additions & 4 deletions go/classes/upload.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package classes

// Default class used for the wrapper of the UploadFile component
// UploadFile is the default class used for the wrapper of the UploadFile component
const UploadFile = "popui-upload_file"

// Default class used for the image of the UploadFile component
// UploadFileImg is the default class used for the image of the UploadFile component
const UploadFileImg = "popui-upload_file-image"

// Default class used for the placeholder image of the UploadFile component
// UploadFilePlaceholder is the default class used for the placeholder image of the UploadFile component
const UploadFilePlaceholder = "popui-upload_file-placeholder"

// Default class used for the text of the UploadFile component
// UploadFileText is the default class used for the text of the UploadFile component
const UploadFileText = "popui-upload_file-text"
2 changes: 1 addition & 1 deletion go/head.templ
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ templ DefaultCSS() {
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
}

templ DefaultScripts() {
Expand Down
2 changes: 1 addition & 1 deletion go/head_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion html/avatar.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion html/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion html/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion html/input.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down
2 changes: 1 addition & 1 deletion html/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion html/popover.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion html/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down
2 changes: 1 addition & 1 deletion html/textarea.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.37/dist/popui.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/npm/@invopop/popui@0.0.47/dist/popui.css" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="p-5 space-y-4 max-w-md">
Expand Down

0 comments on commit eb8de2e

Please sign in to comment.